4
0
Эх сурвалжийг харах

src/asm_parser.rs: remove unnecessary refs

Rich Lane 8 жил өмнө
parent
commit
2244209811
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      src/asm_parser.rs

+ 2 - 2
src/asm_parser.rs

@@ -89,9 +89,9 @@ fn instruction<I>(input: I) -> ParseResult<Instruction, I>
 fn format_info(info: &Info<char, &str>) -> String {
     match *info {
         Info::Token(x) => format!("{:?}", x),
-        Info::Range(ref x) => format!("{:?}", x),
+        Info::Range(x) => format!("{:?}", x),
         Info::Owned(ref x) => x.clone(),
-        Info::Borrowed(ref x) => x.to_string(),
+        Info::Borrowed(x) => x.to_string(),
     }
 }