mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-27 06:54:33 +00:00
Fix nightly clippy warnings
This commit is contained in:
parent
7b9e7e0443
commit
9250260e20
8 changed files with 45 additions and 48 deletions
|
@ -321,7 +321,7 @@ where
|
|||
let value_text = self.radix_run(radix);
|
||||
let end_pos = self.get_pos();
|
||||
let value = BigInt::from_str_radix(&value_text, radix).map_err(|e| LexicalError {
|
||||
error: LexicalErrorType::OtherError(format!("{:?}", e)),
|
||||
error: LexicalErrorType::OtherError(format!("{e:?}")),
|
||||
location: start_pos,
|
||||
})?;
|
||||
Ok((start_pos, Tok::Int { value }, end_pos))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue