diff options
author | Pyfisch <pyfisch@gmail.com> | 2018-11-06 13:01:35 +0100 |
---|---|---|
committer | Pyfisch <pyfisch@gmail.com> | 2018-11-06 22:30:31 +0100 |
commit | cb07debcb6f3d3561177ce536c320986720791b7 (patch) | |
tree | ccac4d5a48b3112230f3fc2e873753dd7263e9fb /tests/unit/script_plugins/lib.rs | |
parent | bf47f90da667e95eaffc8fee36ca8a88e72e276c (diff) | |
download | servo-cb07debcb6f3d3561177ce536c320986720791b7.tar.gz servo-cb07debcb6f3d3561177ce536c320986720791b7.zip |
Format remaining files
Diffstat (limited to 'tests/unit/script_plugins/lib.rs')
-rw-r--r-- | tests/unit/script_plugins/lib.rs | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/unit/script_plugins/lib.rs b/tests/unit/script_plugins/lib.rs index 35a1c0dff11..f27a16f2e32 100644 --- a/tests/unit/script_plugins/lib.rs +++ b/tests/unit/script_plugins/lib.rs @@ -7,13 +7,13 @@ pub mod unrooted_must_root { ``` #![feature(plugin)] #![plugin(script_plugins)] - + #[must_root] struct Foo(i32); #[must_root] struct Bar(Foo); - + fn foo1(_: &Foo) {} fn foo2(_: &()) -> &Foo { unimplemented!() } - + fn main() {} ``` */ @@ -23,10 +23,10 @@ pub mod unrooted_must_root { ```compile_fail #![feature(plugin)] #![plugin(script_plugins)] - + #[must_root] struct Foo(i32); struct Bar(Foo); - + fn main() {} ``` */ @@ -36,11 +36,11 @@ pub mod unrooted_must_root { ```compile_fail #![feature(plugin)] #![plugin(script_plugins)] - + #[must_root] struct Foo(i32); - + fn foo1(_: Foo) {} - + fn main() {} ``` */ @@ -50,11 +50,11 @@ pub mod unrooted_must_root { ```compile_fail #![feature(plugin)] #![plugin(script_plugins)] - + #[must_root] struct Foo(i32); - + fn foo2() -> Foo { unimplemented!() } - + fn main() {} ``` */ |