about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorGuillaumeGomez <guillaume1.gomez@gmail.com>2015-02-04 21:48:12 +0100
committerGuillaumeGomez <guillaume1.gomez@gmail.com>2015-02-06 12:03:46 +0100
commit7b973ba827076fcee194521b21a3b30caab41012 (patch)
tree3533b7aba112b9c40f3b1c3ff768af6ba799f65a /src/libsyntax/parse
parent93fe5c82bfc58019cd799d9ceca8e22b380cfa60 (diff)
downloadrust-7b973ba827076fcee194521b21a3b30caab41012.tar.gz
rust-7b973ba827076fcee194521b21a3b30caab41012.zip
Update to last version, remove "[]" as much as possible
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/token.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs
index 45f4f044ea4..39bc7f6f5af 100644
--- a/src/libsyntax/parse/token.rs
+++ b/src/libsyntax/parse/token.rs
@@ -639,7 +639,7 @@ impl BytesContainer for InternedString {
         // of `BytesContainer`, which is itself a workaround for the lack of
         // DST.
         unsafe {
-            let this = &self[];
+            let this = &self;
             mem::transmute::<&[u8],&[u8]>(this.container_as_bytes())
         }
     }