mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +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
|
@ -42,7 +42,7 @@ pub fn spawn_named_with_send_on_failure<T: Send>(name: &'static str,
|
|||
TaskBuilder::new().named(name).try_future(with_state)
|
||||
};
|
||||
|
||||
let watched_name = name.to_string();
|
||||
let watched_name = name.into_string();
|
||||
let watcher_name = format!("{}Watcher", watched_name);
|
||||
TaskBuilder::new().named(watcher_name).spawn(proc() {
|
||||
rtinstrument::instrument(proc() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue