Update rust toolchain to 1.90 (#20469)

This commit is contained in:
Micha Reiser 2025-09-18 16:54:49 +02:00 committed by GitHub
parent 2502ff7638
commit 1758f26d94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 4 additions and 5 deletions

View file

@ -1613,7 +1613,7 @@ pub(super) fn needs_chaperone_space(
if is_no_chaperone_for_escaped_quote_in_triple_quoted_docstring_enabled(context) {
if flags.is_triple_quoted() {
if let Some(before_quote) = trim_end.strip_suffix(flags.quote_style().as_char()) {
if count_consecutive_chars_from_end(before_quote, '\\') % 2 == 0 {
if count_consecutive_chars_from_end(before_quote, '\\').is_multiple_of(2) {
// Even backslash count preceding quote;
// ```py
// """a " """