Fix infinite loop error
This commit is contained in:
parent
b0b4136d45
commit
9e20035e33
1 changed files with 1 additions and 1 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;
|
||||
let this = &self[];
|
||||
mem::transmute::<&[u8],&[u8]>(this.container_as_bytes())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue