Update Rust toolchain to 1.91 (#21179)

This commit is contained in:
Micha Reiser 2025-11-01 02:50:58 +01:00 committed by GitHub
parent a151f9746d
commit 921f409ee8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 27 additions and 47 deletions

View file

@ -334,7 +334,7 @@ class A: ...
let options = PyFormatOptions::from_source_type(source_type);
let printed = format_range(&source, TextRange::new(start, end), options).unwrap();
let mut formatted = source.to_string();
let mut formatted = source.clone();
formatted.replace_range(
std::ops::Range::<usize>::from(printed.source_range()),
printed.as_code(),