mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-27 20:42:10 +00:00
Upgrade Rust toolchain to 1.84.0 (#15408)
This commit is contained in:
parent
2d82445794
commit
c39ca8fe6d
18 changed files with 36 additions and 45 deletions
|
@ -497,12 +497,7 @@ impl<'a> Printer<'a> {
|
|||
dest: self.state.buffer.text_len(),
|
||||
};
|
||||
|
||||
if self
|
||||
.state
|
||||
.source_markers
|
||||
.last()
|
||||
.map_or(true, |last| last != &marker)
|
||||
{
|
||||
if self.state.source_markers.last() != Some(&marker) {
|
||||
self.state.source_markers.push(marker);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue