diff options
| author | Benjamin Herr <ben@0x539.de> | 2013-03-02 01:07:01 +0100 |
|---|---|---|
| committer | Benjamin Herr <ben@0x539.de> | 2013-03-02 01:07:01 +0100 |
| commit | 382143abd871d9b2c73df08ffd2928c44f314ab3 (patch) | |
| tree | c531788e4dd219aac9546cdec8eb2103d0f7e331 /src/rt/sync/rust_thread.cpp | |
| parent | cab8ec242bc34dceb8aded6ec71ddf17e5966d86 (diff) | |
| download | rust-382143abd871d9b2c73df08ffd2928c44f314ab3.tar.gz rust-382143abd871d9b2c73df08ffd2928c44f314ab3.zip | |
doc/rust.md: Demonstrate the `f::<T>()` syntax more often
The "Generic functions" subsection mentions that generic functions are instantiated based on context, so let's also mention right away (with a link to the #paths section) that an explicit form is available. This also adds an example to the function call expression section that explicitly instantiates a generic function.
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
0 files changed, 0 insertions, 0 deletions
