diff options
author | Akshay <[email protected]> | 2021-10-15 08:36:59 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2021-10-15 08:36:59 +0100 |
commit | 2993b205dbad0f7fd3755f9f3cfb3003c79a8b5a (patch) | |
tree | ca1b8d8b3e95677b83865b842925bbe391815c14 /lib/src/make.rs | |
parent | 45ab8abf76aa8157b43f3c7675b11fb51fac66d9 (diff) |
new lint: useless_parens
Diffstat (limited to 'lib/src/make.rs')
-rw-r--r-- | lib/src/make.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/src/make.rs b/lib/src/make.rs index aec32d5..217ba12 100644 --- a/lib/src/make.rs +++ b/lib/src/make.rs | |||
@@ -58,10 +58,10 @@ pub fn attrset( | |||
58 | 58 | ||
59 | writeln!(buffer, "{}{{", if recursive { "rec " } else { "" }).unwrap(); | 59 | writeln!(buffer, "{}{{", if recursive { "rec " } else { "" }).unwrap(); |
60 | for inherit in inherits.into_iter() { | 60 | for inherit in inherits.into_iter() { |
61 | writeln!(buffer, " {}", inherit.node().text()).unwrap(); | 61 | writeln!(buffer, " {}", inherit.node().text()).unwrap(); |
62 | } | 62 | } |
63 | for entry in entries.into_iter() { | 63 | for entry in entries.into_iter() { |
64 | writeln!(buffer, " {}", entry.node().text()).unwrap(); | 64 | writeln!(buffer, " {}", entry.node().text()).unwrap(); |
65 | } | 65 | } |
66 | write!(buffer, "}}").unwrap(); | 66 | write!(buffer, "}}").unwrap(); |
67 | 67 | ||