]> git.lizzy.rs Git - rust.git/blobdiff - tests/target/impl.rs
Fix static async closure qualifier order
[rust.git] / tests / target / impl.rs
index 99922d406f441b9515ab5cb272808a673c5342be..f37fbcf1fcbcc607d3bd6890f90d3c3168b87390 100644 (file)
@@ -8,12 +8,12 @@ impl<K, V, NodeRef: Deref<Target = Node<K, V>>> Handle<NodeRef, handle::Edge, ha
 
 impl<V> Test<V>
 where
-    V: Clone, // This comment is NOT removed by formating!
+    V: Clone, // This comment is NOT removed by formatting!
 {
     pub fn new(value: V) -> Self {
         Test {
             cloned_value: value.clone(),
-            value: value,
+            value,
         }
     }
 }