diff options
Diffstat (limited to 'doc/rust.md')
| -rw-r--r-- | doc/rust.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/rust.md b/doc/rust.md index eeedc7473a0..3c3b4300507 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -450,7 +450,7 @@ Two examples of paths with type arguments: # use std::map; # fn f() { # fn id<T:Copy>(t: T) -> T { t } -type t = map::hashmap<int,~str>; // Type arguments used in a type expression +type t = map::HashMap<int,~str>; // Type arguments used in a type expression let x = id::<int>(10); // Type arguments used in a call expression # } ~~~~ |
