From ca6d512ec1aa3d66ca1ee05173328b0942e53edb Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Sat, 22 Feb 2014 14:12:47 -0800 Subject: std: fix the hash doctest --- src/libstd/hash/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstd') diff --git a/src/libstd/hash/mod.rs b/src/libstd/hash/mod.rs index ac079cb3fb3..027a1d9010e 100644 --- a/src/libstd/hash/mod.rs +++ b/src/libstd/hash/mod.rs @@ -24,7 +24,7 @@ * struct Person { * id: uint, * name: ~str, - * phone: uint, + * phone: u64, * } * * let person1 = Person { id: 5, name: ~"Janet", phone: 555_666_7777 }; @@ -44,7 +44,7 @@ * struct Person { * id: uint, * name: ~str, - * phone: uint, + * phone: u64, * } * * impl Hash for Person { -- cgit 1.4.1-3-g733a5