about summary refs log tree commit diff
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2017-11-13 17:09:48 +0800
committerGitHub <noreply@github.com>2017-11-13 17:09:48 +0800
commit48d2627c38e014f5372d1a642bc21e5506fe83f3 (patch)
tree02481b113b47bbffbe7f2652e2a2d788ae6a2912
parent8c9d500b19742f60a3ce3d6b60bfade7ba17a886 (diff)
parentb8891eebe46a1885919115838eb8ed5875f719b1 (diff)
downloadrust-48d2627c38e014f5372d1a642bc21e5506fe83f3.tar.gz
rust-48d2627c38e014f5372d1a642bc21e5506fe83f3.zip
Rollup merge of #45954 - udoprog:fix-style, r=kennytm
Fix style in interner test
-rw-r--r--src/libsyntax_pos/symbol.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax_pos/symbol.rs b/src/libsyntax_pos/symbol.rs
index 26e6f27e20f..69ddd560213 100644
--- a/src/libsyntax_pos/symbol.rs
+++ b/src/libsyntax_pos/symbol.rs
@@ -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));