From 56f0abeb8961bb0481c44cb7cf9f7fedd51d2938 Mon Sep 17 00:00:00 2001 From: tanishka <109246904+taniishkaaa@users.noreply.github.com> Date: Wed, 2 Oct 2024 19:06:59 +0530 Subject: [PATCH] clippy: Fix warnings in components/devtools/actors/inspector (#33618) Signed-off-by: taniishkaaa --- components/devtools/actors/inspector/page_style.rs | 4 ++-- components/devtools/actors/inspector/style_rule.rs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/devtools/actors/inspector/page_style.rs b/components/devtools/actors/inspector/page_style.rs index 38e7efeb098..3d93d25879b 100644 --- a/components/devtools/actors/inspector/page_style.rs +++ b/components/devtools/actors/inspector/page_style.rs @@ -104,10 +104,10 @@ impl Actor for PageStyleActor { /// The page style actor can handle the following messages: /// /// - `getApplied`: Returns the applied styles for a node, they represent the explicit css - /// rules set for them, both in the style attribute and in stylesheets. + /// rules set for them, both in the style attribute and in stylesheets. /// /// - `getComputed`: Returns the computed styles for a node, these include all of the supported - /// css properties calculated values. + /// css properties calculated values. /// /// - `getLayout`: Returns the box layout properties for a node. /// diff --git a/components/devtools/actors/inspector/style_rule.rs b/components/devtools/actors/inspector/style_rule.rs index 0be0d017fc6..a2e03c50859 100644 --- a/components/devtools/actors/inspector/style_rule.rs +++ b/components/devtools/actors/inspector/style_rule.rs @@ -93,9 +93,9 @@ impl Actor for StyleRuleActor { /// The style rule configuration actor can handle the following messages: /// /// - `setRuleText`: Applies a set of modifications to the css rules that this actor manages. - /// There is also `modifyProperties`, which has a slightly different API to do the same, but - /// this is preferred. Which one the devtools client sends is decided by the `traits` defined - /// when returning the list of rules. + /// There is also `modifyProperties`, which has a slightly different API to do the same, but + /// this is preferred. Which one the devtools client sends is decided by the `traits` defined + /// when returning the list of rules. fn handle_message( &self, registry: &ActorRegistry,