mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 03:37:26 +03:00
Remove redudant parens
This commit is contained in:
+1
-1
@@ -335,7 +335,7 @@ pub fn visit_item(&mut self, item: &ast::Item) {
|
||||
let snippet = self.snippet(item.span);
|
||||
let where_span_end = snippet
|
||||
.find_uncommented("{")
|
||||
.map(|x| (BytePos(x as u32)) + source!(self, item.span).lo());
|
||||
.map(|x| BytePos(x as u32) + source!(self, item.span).lo());
|
||||
let rw = format_impl(&self.get_context(), item, self.block_indent, where_span_end);
|
||||
self.push_rewrite(item.span, rw);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user