Change 'print(fmt!(...))' to printf!/printfln! in src/lib*

This commit is contained in:
Birunthan Mohanathas
2013-07-22 19:03:39 +03:00
committed by Daniel Micay
parent af5a17b7d0
commit d047cf1ec6
27 changed files with 102 additions and 111 deletions

View File

@@ -1727,7 +1727,7 @@ impl<'self> StrSlice<'self> for &'self str {
* let i = 0u;
* while i < s.len() {
* let CharRange {ch, next} = s.char_range_at(i);
* std::io::println(fmt!("%u: %c",i,ch));
* printfln!("%u: %c", i, ch);
* i = next;
* }
* ~~~