]> git.lizzy.rs Git - rust.git/blobdiff - tests/used_underscore_binding_macro.rs
Fix deploy.sh III
[rust.git] / tests / used_underscore_binding_macro.rs
index 4170f907b0ae69940af9288895d7eac13723c79f..9cd44d44001260ea39ec2b1e29eb364f975da09d 100644 (file)
@@ -3,7 +3,7 @@
 
 extern crate rustc_serialize;
 
-/// Test that we do not lint for unused underscores in a MacroAttribute expansion
+/// Test that we do not lint for unused underscores in a `MacroAttribute` expansion
 #[deny(used_underscore_binding)]
 #[derive(RustcEncodable)]
 struct MacroAttributesTest {
@@ -12,5 +12,5 @@ struct MacroAttributesTest {
 
 #[test]
 fn macro_attributes_test() {
-    let _ = MacroAttributesTest{_foo: 0};
+    let _ = MacroAttributesTest { _foo: 0 };
 }