about summary refs log tree commit diff
path: root/src/rt/sync/rust_thread.cpp
diff options
context:
space:
mode:
authorBenjamin Herr <ben@0x539.de>2013-03-02 01:07:01 +0100
committerBenjamin Herr <ben@0x539.de>2013-03-02 01:07:01 +0100
commit382143abd871d9b2c73df08ffd2928c44f314ab3 (patch)
treec531788e4dd219aac9546cdec8eb2103d0f7e331 /src/rt/sync/rust_thread.cpp
parentcab8ec242bc34dceb8aded6ec71ddf17e5966d86 (diff)
downloadrust-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