servo: Merge #4488 - Add a lint for usages of to_string() (from servo:into_string-lint); r=jdm

This is a rebase of #4366.

Source-Repo: https://github.com/servo/servo
Source-Revision: 0da57abec6014f8a6edde9781598053deab996c7
This commit is contained in:
Manish Goregaokar
2014-12-31 05:00:52 -07:00
parent 42b58cc1c9
commit 93844b0dcd
14 changed files with 82 additions and 42 deletions

View File

@@ -1199,7 +1199,7 @@ impl ScriptTask {
let y = point.y.to_i32().unwrap_or(0);
let mouse_event = MouseEvent::new(*window,
"mousemove".to_string(),
"mousemove".into_string(),
true,
true,
Some(*window),