diff options
author | Georg Brandl <georg@python.org> | 2014-10-08 09:09:18 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-10-08 09:09:18 +0200 |
commit | 6d063d8d28bda60f37b03c7fe130074f92932398 (patch) | |
tree | 946af08ab0d46558c58b246dd5d13fee9bcdfae3 /tests/examplefiles/rust_example.rs | |
parent | 342f9b5f2720ab257cea0ca934f1c82d9cbfab72 (diff) | |
parent | ac3a01c3b86d36b4dc88a11dfe2dfe042ea1c208 (diff) | |
download | pygments-6d063d8d28bda60f37b03c7fe130074f92932398.tar.gz |
Merged in protz/pygments-main/add-envname (pull request #235)
Diffstat (limited to 'tests/examplefiles/rust_example.rs')
-rw-r--r-- | tests/examplefiles/rust_example.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/examplefiles/rust_example.rs b/tests/examplefiles/rust_example.rs index 1c0a70c3..8c44af1d 100644 --- a/tests/examplefiles/rust_example.rs +++ b/tests/examplefiles/rust_example.rs @@ -11,6 +11,8 @@ // based on: // http://shootout.alioth.debian.org/u32/benchmark.php?test=nbody&lang=java +/* nest some /* comments */ */ + extern mod std; use core::os; @@ -22,7 +24,7 @@ use core::os; // an llvm intrinsic. #[nolink] extern mod libc { - #[legacy_exports]; + #![legacy_exports]; fn sqrt(n: float) -> float; } |