浏览代码

Fix format

Jeremy Soller 7 年之前
父节点
当前提交
56e304a2af
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/stdio/src/printf.rs

+ 2 - 2
src/stdio/src/printf.rs

@@ -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>();