Browse Source

Remove one unused mut.

Jing Yang 4 years ago
parent
commit
3a21ad9b23
1 changed files with 1 additions and 1 deletions
  1. 1 1
      linearizability/src/lib.rs

+ 1 - 1
linearizability/src/lib.rs

@@ -210,7 +210,7 @@ mod tests {
 
 
     #[test]
     #[test]
     fn accept() {
     fn accept() {
-        let mut ops = Box::leak(Box::new(vec![]));
+        let ops = Box::leak(Box::new(vec![]));
         let start = Instant::now();
         let start = Instant::now();
         for i in 0..4 {
         for i in 0..4 {
             ops.push(Operation {
             ops.push(Operation {