diff --git a/src/components/main/platform/common/glfw_windowing.rs b/src/components/main/platform/common/glfw_windowing.rs index 0fe7b0447be..023b816f892 100644 --- a/src/components/main/platform/common/glfw_windowing.rs +++ b/src/components/main/platform/common/glfw_windowing.rs @@ -190,18 +190,18 @@ impl Window { match self.ready_state { Blank => { - self.glfw_window.set_title(format!("blank — Servo")) + self.glfw_window.set_title("blank — Servo") } Loading => { - self.glfw_window.set_title(format!("Loading — Servo")) + self.glfw_window.set_title("Loading — Servo") } PerformingLayout => { - self.glfw_window.set_title(format!("Performing Layout — Servo")) + self.glfw_window.set_title("Performing Layout — Servo") } FinishedLoading => { match self.render_state { RenderingRenderState => { - self.glfw_window.set_title(format!("Rendering — Servo")) + self.glfw_window.set_title("Rendering — Servo") } IdleRenderState => { self.glfw_window.set_title("Servo") diff --git a/src/components/main/platform/common/glut_windowing.rs b/src/components/main/platform/common/glut_windowing.rs index 1316a69af5a..3fb0f055813 100644 --- a/src/components/main/platform/common/glut_windowing.rs +++ b/src/components/main/platform/common/glut_windowing.rs @@ -162,7 +162,7 @@ impl Window { let throbber = THROBBER[self.throbber_frame]; match self.ready_state { Blank => { - glut::set_window_title(self.glut_window, format!("Blank")) + glut::set_window_title(self.glut_window, "Blank") } Loading => { glut::set_window_title(self.glut_window, format!("{:c} Loading . Servo", throbber))