Skip to content
Snippets Groups Projects
Commit 56e304a2 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Fix format

parent 0e766c6b
No related branches found
No related tags found
No related merge requests found
...@@ -34,14 +34,14 @@ pub unsafe fn printf<W: fmt::Write>(mut w: W, format: *const c_char, mut ap: VaL ...@@ -34,14 +34,14 @@ pub unsafe fn printf<W: fmt::Write>(mut w: W, format: *const c_char, mut ap: VaL
w.write_fmt(format_args!("{}", a)); w.write_fmt(format_args!("{}", a));
found_percent = false; found_percent = false;
}, }
'f' | 'F' => { 'f' | 'F' => {
let a: f64 = mem::transmute(ap.get::<u64>()); let a: f64 = mem::transmute(ap.get::<u64>());
w.write_fmt(format_args!("{}", a)); w.write_fmt(format_args!("{}", a));
found_percent = false; found_percent = false;
}, }
'n' => { 'n' => {
let _a = ap.get::<c_int>(); let _a = ap.get::<c_int>();
......
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