mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
clippy: Fix several warnings in components/devtools (#31501)
This commit is contained in:
parent
da873779b4
commit
3552bb2464
18 changed files with 85 additions and 86 deletions
|
@ -31,7 +31,7 @@ impl Actor for ObjectActor {
|
|||
}
|
||||
|
||||
impl ObjectActor {
|
||||
pub fn new(registry: &ActorRegistry, uuid: String) -> String {
|
||||
pub fn register(registry: &ActorRegistry, uuid: String) -> String {
|
||||
if !registry.script_actor_registered(uuid.clone()) {
|
||||
let name = registry.new_name("object");
|
||||
let actor = ObjectActor {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue