about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorLeif Arne Storset <leifarne@storset.net>2015-07-19 13:22:39 +0200
committerLeif Arne Storset <leifarne@storset.net>2015-07-30 21:48:25 +0200
commit0e92165eafee26e0fb27f9a3756e8a68884d685d (patch)
treea87d73d9e4241ff12698094925dea3184cdae23b /src/rustllvm/RustWrapper.cpp
parent04badd6a973d2499731b49365a121dbc4c9c468e (diff)
downloadrust-0e92165eafee26e0fb27f9a3756e8a68884d685d.tar.gz
rust-0e92165eafee26e0fb27f9a3756e8a68884d685d.zip
Show impl<T>
This includes a new example with Rectangle, instead of reusing HasArea,
because fn area would require the Mul trait, and the added complexity of
that would be better left for the Operators and Overloading chapter.

Squashed at reviewer's request: Move teaser for trait bounds to bottom
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions