[librsvg] cargo-clippy: Remove unnecessary parentheses
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] cargo-clippy: Remove unnecessary parentheses
- Date: Thu, 22 Feb 2018 19:55:43 +0000 (UTC)
commit 1d10dc3734f67341f6e7353fd5e804391789d67e
Author: Federico Mena Quintero <federico gnome org>
Date: Thu Feb 22 13:41:35 2018 -0600
cargo-clippy: Remove unnecessary parentheses
rust/src/color.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rust/src/color.rs b/rust/src/color.rs
index 470d9be5..a1b9a007 100644
--- a/rust/src/color.rs
+++ b/rust/src/color.rs
@@ -109,7 +109,7 @@ impl Color {
fn rgba_from_argb (argb: u32) -> cssparser::RGBA {
cssparser::RGBA::new (((argb & 0x00ff_0000) >> 16) as u8,
((argb & 0x0000_ff00) >> 8) as u8,
- ((argb & 0x0000_00ff) as u8),
+ (argb & 0x0000_00ff) as u8,
((argb & 0xff00_0000) >> 24) as u8)
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]