mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-19 19:54:41 +00:00
Switch to Rust 2024 edition (#18129)
This commit is contained in:
parent
e67b35743a
commit
9ae698fe30
1082 changed files with 4211 additions and 3300 deletions
|
|
@ -444,8 +444,7 @@ fn is_docstring_section(
|
|||
if next_line.is_empty() {
|
||||
false
|
||||
} else {
|
||||
let next_line_is_underline = next_line.chars().all(|char| matches!(char, '-' | '='));
|
||||
next_line_is_underline
|
||||
next_line.chars().all(|char| matches!(char, '-' | '='))
|
||||
}
|
||||
});
|
||||
if next_line_is_underline {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue