mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
fmt! -> format!
This commit is contained in:
parent
e7e7eab905
commit
e2b7885b73
54 changed files with 274 additions and 274 deletions
|
@ -74,7 +74,7 @@ pub struct TimerData {
|
|||
impl Window {
|
||||
pub fn Alert(&self, s: &DOMString) {
|
||||
// Right now, just print to the console
|
||||
io::println(fmt!("ALERT: %s", null_str_as_empty(s)));
|
||||
io::println(format!("ALERT: {:s}", null_str_as_empty(s)));
|
||||
}
|
||||
|
||||
pub fn Close(&self) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue