aboutsummaryrefslogtreecommitdiff
path: root/src/test/bench/99-bottles/99bob-tail.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/bench/99-bottles/99bob-tail.rs')
-rw-r--r--src/test/bench/99-bottles/99bob-tail.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/bench/99-bottles/99bob-tail.rs b/src/test/bench/99-bottles/99bob-tail.rs
index 985d9b4b..202b653b 100644
--- a/src/test/bench/99-bottles/99bob-tail.rs
+++ b/src/test/bench/99-bottles/99bob-tail.rs
@@ -1,15 +1,15 @@
-/* -*- mode:rust;indent-tabs-mode:nil -*-
+/* -*- mode::rust;indent-tabs-mode::nil -*-
* Implementation of 99 Bottles of Beer
* http://99-bottles-of-beer.net/
*/
use std;
-import std.Int;
-import std.Str;
+import std::_int;
+import std::_str;
fn main() {
fn multiple(int n) {
- let str nb = Int.to_str(n, 10u);
- let str mb = Int.to_str(n - 1, 10u);
+ let str nb = _int::to_str(n, 10u);
+ let str mb = _int::to_str(n - 1, 10u);
log nb + " bottles of beer on the wall, " + nb + " bottles of beer,";
log "Take one down and pass it around, "
+ mb + " bottles of beer on the wall.";