mirror of
https://github.com/servo/servo.git
synced 2025-08-08 15:05:35 +01:00
Remove unnecessary format!s
This commit is contained in:
parent
b451ff3e15
commit
da6c27c421
2 changed files with 5 additions and 5 deletions
|
@ -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")
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue