diff options
author | Martin Robinson <mrobinson@igalia.com> | 2025-02-27 15:16:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-27 14:16:31 +0000 |
commit | 0e85d9f30a48a2eb4d4be54efc4b5995ee583b14 (patch) | |
tree | 3bd40c35735ee5daeefbd485498b9b6b606437eb /components/layout/display_list | |
parent | e670464fef0b93facc840db6104722432dc76cf2 (diff) | |
download | servo-0e85d9f30a48a2eb4d4be54efc4b5995ee583b14.tar.gz servo-0e85d9f30a48a2eb4d4be54efc4b5995ee583b14.zip |
clippy: Fix a couple clippy warnings on macOS (#35703)
The new version of rust has more checks trying to prevent mistakes
around order of operations and shifts.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'components/layout/display_list')
-rw-r--r-- | components/layout/display_list/webrender_helpers.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/display_list/webrender_helpers.rs b/components/layout/display_list/webrender_helpers.rs index ff13b1f9d53..edfb3265329 100644 --- a/components/layout/display_list/webrender_helpers.rs +++ b/components/layout/display_list/webrender_helpers.rs @@ -190,7 +190,7 @@ impl DisplayItem { builder: &DisplayListBuilder, node_index: usize, ) -> SpatialTreeItemKey { - let pipeline_tag = (builder.pipeline_id.0 as u64) << 32 | builder.pipeline_id.1 as u64; + let pipeline_tag = ((builder.pipeline_id.0 as u64) << 32) | builder.pipeline_id.1 as u64; SpatialTreeItemKey::new(pipeline_tag, node_index as u64) } |