1
Fork 0

Libsyntax has been updated

This commit is contained in:
GuillaumeGomez 2015-02-03 23:31:06 +01:00
parent 12f1f4c546
commit 8b12d3ddf9
26 changed files with 93 additions and 121 deletions

View file

@ -639,7 +639,7 @@ impl BytesContainer for InternedString {
// of `BytesContainer`, which is itself a workaround for the lack of
// DST.
unsafe {
let this = self.deref();
let this = &self[];
mem::transmute::<&[u8],&[u8]>(this.container_as_bytes())
}
}