Skip to content
Snippets Groups Projects
Commit 7edb577d authored by Dawid Ciężarkiewicz's avatar Dawid Ciężarkiewicz
Browse files

Fix for latest rustc.

parent 531c7765
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ impl<T: MutBuf> MutBuf for Take<T> {
cmp::min(self.inner.remaining(), self.limit)
}
fn mut_bytes<'a>(&'a mut self) -> &'a mut [u8] {
unsafe fn mut_bytes<'a>(&'a mut self) -> &'a mut [u8] {
&mut self.inner.mut_bytes()[..self.limit]
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment