diff --git a/src/udiff.rs b/src/udiff.rs index 212ce0e..409640b 100644 --- a/src/udiff.rs +++ b/src/udiff.rs @@ -147,7 +147,7 @@ pub fn udiff( } }; - ret.push(&format!("{range}\n")); + ret.push(format!("{range}\n")); for code in group { if code.tag == "equal" {