Rollup merge of #45954 - udoprog:fix-style, r=kennytm

Fix style in interner test
This commit is contained in:
kennytm 2017-11-13 17:09:48 +08:00 committed by GitHub
commit 48d2627c38
1 changed files with 1 additions and 1 deletions

View File

@ -416,7 +416,7 @@ mod tests {
// first one is zero:
assert_eq!(i.intern("dog"), Symbol(0));
// re-use gets the same entry:
assert_eq!(i.intern ("dog"), Symbol(0));
assert_eq!(i.intern("dog"), Symbol(0));
// different string gets a different #:
assert_eq!(i.intern("cat"), Symbol(1));
assert_eq!(i.intern("cat"), Symbol(1));