Explorar el Código

fix unnessisary mut

Evan Almloff hace 3 años
padre
commit
cf2f504d77
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/rsx_interpreter/src/lib.rs

+ 1 - 1
packages/rsx_interpreter/src/lib.rs

@@ -85,7 +85,7 @@ macro_rules! get_line_num {
         let line = line!();
         let column = column!();
         let file_path = file!().to_string();
-        let mut crate_path = env!("CARGO_MANIFEST_DIR").to_string();
+        let crate_path = env!("CARGO_MANIFEST_DIR").to_string();
 
         CodeLocation {
             crate_path,