Skip to content

Commit ca6d512

Browse files
committed
std: fix the hash doctest
1 parent d223dd1 commit ca6d512

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/hash/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* struct Person {
2525
* id: uint,
2626
* name: ~str,
27-
* phone: uint,
27+
* phone: u64,
2828
* }
2929
*
3030
* let person1 = Person { id: 5, name: ~"Janet", phone: 555_666_7777 };
@@ -44,7 +44,7 @@
4444
* struct Person {
4545
* id: uint,
4646
* name: ~str,
47-
* phone: uint,
47+
* phone: u64,
4848
* }
4949
*
5050
* impl Hash for Person {

0 commit comments

Comments
 (0)