std: fix the hash doctest
This commit is contained in:
parent
d223dd1e57
commit
ca6d512ec1
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue