Remove identity casts
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user