diff options
| author | GuillaumeGomez <guillaume1.gomez@gmail.com> | 2015-02-04 21:48:12 +0100 |
|---|---|---|
| committer | GuillaumeGomez <guillaume1.gomez@gmail.com> | 2015-02-06 12:03:46 +0100 |
| commit | 7b973ba827076fcee194521b21a3b30caab41012 (patch) | |
| tree | 3533b7aba112b9c40f3b1c3ff768af6ba799f65a /src/libsyntax/parse | |
| parent | 93fe5c82bfc58019cd799d9ceca8e22b380cfa60 (diff) | |
| download | rust-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.rs | 2 |
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()) } } |
