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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user