1
Fork 0

Run rustfmt

This commit is contained in:
Manish Goregaokar 2017-09-03 14:15:15 -07:00
parent 35eda0531a
commit 2544458559
No known key found for this signature in database
GPG key ID: 3BBF4D3E2EF79F98
16 changed files with 175 additions and 131 deletions

View file

@ -139,11 +139,7 @@ fn str_span(base: Span, s: &str, c: usize) -> Span {
match (si.next(), si.next()) {
(Some((l, _)), Some((h, _))) => {
Span::new(
base.lo() + BytePos(l as u32),
base.lo() + BytePos(h as u32),
base.ctxt(),
)
Span::new(base.lo() + BytePos(l as u32), base.lo() + BytePos(h as u32), base.ctxt())
},
_ => base,
}