rustfmt
This commit is contained in:
parent
e256055dc4
commit
bd45cfd273
18 changed files with 137 additions and 203 deletions
|
@ -147,7 +147,11 @@ fn str_span(base: Span, s: &str, c: usize) -> Span {
|
|||
Some((b, _)) => base.lo + BytePos(b as u32),
|
||||
_ => base.hi,
|
||||
};
|
||||
Span{ lo: lo, hi: lo, ..base }
|
||||
Span {
|
||||
lo: lo,
|
||||
hi: lo,
|
||||
..base
|
||||
}
|
||||
}
|
||||
|
||||
fn const_str(cx: &LateContext, e: &Expr) -> Option<InternedString> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue