mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Replace the remaining to_string calls by into_string calls.
This commit is contained in:
parent
37a97f3273
commit
b6117a57aa
12 changed files with 43 additions and 42 deletions
|
@ -83,7 +83,7 @@ pub fn instrument(f: proc()) {
|
|||
let task = Local::borrow(None::<Task>);
|
||||
match task.name {
|
||||
Some(ref name) => name.to_string(),
|
||||
None => "unknown".to_string(),
|
||||
None => "unknown".into_string(),
|
||||
}
|
||||
};
|
||||
let stats = TaskStats {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue