Fix obsolete format traits.

They are to be removed from the language in the next rust upgrade.
This commit is contained in:
Ms2ger 2015-01-01 21:49:19 +01:00
parent 141b5d038f
commit b51e83819d
35 changed files with 63 additions and 63 deletions

View file

@ -185,7 +185,7 @@ pub fn base64_atob(atob: DOMString) -> Fallible<DOMString> {
impl<'a> WindowMethods for JSRef<'a, Window> {
fn Alert(self, s: DOMString) {
// Right now, just print to the console
println!("ALERT: {:s}", s);
println!("ALERT: {}", s);
}
fn Close(self) {
@ -273,7 +273,7 @@ impl<'a> WindowMethods for JSRef<'a, Window> {
}
fn Debug(self, message: DOMString) {
debug!("{:s}", message);
debug!("{}", message);
}
fn Gc(self) {