Skip to content

Commit 342c5fb

Browse files
Fixed bad formating
1 parent 3d49cc1 commit 342c5fb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

compiler/rustc_expand/src/proc_macro_server.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -640,10 +640,7 @@ impl server::Span for Rustc<'_, '_> {
640640
let relative_start_pos = source_map.lookup_byte_offset(span.lo()).pos;
641641
let relative_end_pos = source_map.lookup_byte_offset(span.hi()).pos;
642642

643-
Range {
644-
start: relative_start_pos.0 as usize,
645-
end: relative_end_pos.0 as usize
646-
}
643+
Range { start: relative_start_pos.0 as usize, end: relative_end_pos.0 as usize }
647644
}
648645

649646
fn start(&mut self, span: Self::Span) -> LineColumn {

0 commit comments

Comments
 (0)