]> git.lizzy.rs Git - rust.git/blobdiff - tests/target/hard-tabs.rs
Do not allow single-lined closure with block body
[rust.git] / tests / target / hard-tabs.rs
index 4ac6df5def85dee9455643d9c575ddc345d0d269..ecaffc165e6d2973fb6bfc5bc9584132f072166b 100644 (file)
@@ -80,7 +80,9 @@ fn generic<T>(arg: T) -> &SomeType
        });
 
        fffffffffffffffffffffffffffffffffff(a, {
-               SCRIPT_TASK_ROOT.with(|root| { *root.borrow_mut() = Some(&script_task); });
+               SCRIPT_TASK_ROOT.with(|root| {
+                       *root.borrow_mut() = Some(&script_task);
+               });
        });
        a.b.c.d();