mirror of
https://github.com/servo/servo.git
synced 2025-08-02 04:00:32 +01:00
Fix obsolete format traits.
They are to be removed from the language in the next rust upgrade.
This commit is contained in:
parent
141b5d038f
commit
b51e83819d
35 changed files with 63 additions and 63 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue