libsyntax: remove vecs_implicitly_copyable from the printer

This commit is contained in:
Erick Tryzelaar
2013-02-26 07:43:53 -08:00
parent 4ae91e2961
commit 5f1652f34f
2 changed files with 26 additions and 25 deletions

View File

@@ -568,15 +568,15 @@ pub fn end(p: @mut Printer) { p.pretty_print(END); }
pub fn eof(p: @mut Printer) { p.pretty_print(EOF); }
pub fn word(p: @mut Printer, wrd: ~str) {
p.pretty_print(STRING(@wrd, str::len(wrd) as int));
p.pretty_print(STRING(@/*bad*/ copy wrd, wrd.len() as int));
}
pub fn huge_word(p: @mut Printer, wrd: ~str) {
p.pretty_print(STRING(@wrd, size_infinity));
p.pretty_print(STRING(@/*bad*/ copy wrd, size_infinity));
}
pub fn zero_word(p: @mut Printer, wrd: ~str) {
p.pretty_print(STRING(@wrd, 0));
p.pretty_print(STRING(@/*bad*/ copy wrd, 0));
}
pub fn spaces(p: @mut Printer, n: uint) { break_offset(p, n, 0); }