Commit 185967a6 authored by Raphaël Gomès's avatar Raphaël Gomès
Browse files

Don't use str::as_mut_ptr in tests since it's not stable in 1.34.2

parent 1a25b8961f10
......@@ -74,5 +74,6 @@ fn test_mut_pointer() {
let mut s = String::new();
// `as_mut_ptr` is not stable in 1.34.2
thing(s.as_mut_str() as *mut str as *mut u8);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment