mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-27 12:29:48 +00:00
This commit is contained in:
parent
b42d76494c
commit
a68a86e18b
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ impl Display for MessageCodeFrame<'_> {
|
||||||
let content_end_cell = jupyter_index
|
let content_end_cell = jupyter_index
|
||||||
.cell(content_end_index.get())
|
.cell(content_end_index.get())
|
||||||
.unwrap_or_default();
|
.unwrap_or_default();
|
||||||
while end_index < content_end_index {
|
while end_index > content_end_index {
|
||||||
if jupyter_index.cell(end_index.get()).unwrap_or_default() == content_end_cell {
|
if jupyter_index.cell(end_index.get()).unwrap_or_default() == content_end_cell {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue