Libsyntax has been updated
This commit is contained in:
parent
12f1f4c546
commit
8b12d3ddf9
26 changed files with 93 additions and 121 deletions
|
@ -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())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue