diff options
author | Georg Brandl <georg@python.org> | 2014-10-07 15:24:28 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-10-07 15:24:28 +0200 |
commit | a8053d446a08ac51e674e96a688046c0e5568968 (patch) | |
tree | 632841b40f29fdf5a2ff19da52e59d262576bff8 /tests/examplefiles/rust_example.rs | |
parent | db288cd60ae8d92f6aa95a7061a43f24d2637b48 (diff) | |
download | pygments-a8053d446a08ac51e674e96a688046c0e5568968.tar.gz |
Closes #972: accept "inner attribute" syntax for Rust.
Diffstat (limited to 'tests/examplefiles/rust_example.rs')
-rw-r--r-- | tests/examplefiles/rust_example.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/examplefiles/rust_example.rs b/tests/examplefiles/rust_example.rs index 8ffbaf6b..8c44af1d 100644 --- a/tests/examplefiles/rust_example.rs +++ b/tests/examplefiles/rust_example.rs @@ -24,7 +24,7 @@ use core::os; // an llvm intrinsic. #[nolink] extern mod libc { - #[legacy_exports]; + #![legacy_exports]; fn sqrt(n: float) -> float; } |