Remove identity casts
This commit is contained in:
parent
81c320ea77
commit
4b4948c2e3
8 changed files with 11 additions and 11 deletions
|
@ -558,8 +558,8 @@ impl<'a> StringReader<'a> {
|
|||
}
|
||||
|
||||
if let Some(possible_offset) = possible_offset {
|
||||
let lo = start + BytePos(possible_offset as u32);
|
||||
let hi = lo + BytePos(found_terminators as u32);
|
||||
let lo = start + BytePos(possible_offset);
|
||||
let hi = lo + BytePos(found_terminators);
|
||||
let span = self.mk_sp(lo, hi);
|
||||
err.span_suggestion(
|
||||
span,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue