Skip to content
Snippets Groups Projects
Commit a390d946 authored by David Renshaw's avatar David Renshaw
Browse files

remove unneeded 'mut'

parent bf313a22
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ pub fn main() {
let mut buf = String::new();
{
let mut buf_bytes = unsafe { buf.as_mut_vec() };
let buf_bytes = unsafe { buf.as_mut_vec() };
for idx in 0..data.len() {
buf_bytes.push(data[idx]);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment