mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
clippy: Fix warnings in components/devtools/actors/inspector (#33618)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
This commit is contained in:
parent
88dad77483
commit
56f0abeb89
2 changed files with 5 additions and 5 deletions
|
@ -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.
|
||||
///
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue