Skip to content

Commit 8bed0d9

Browse files
committed
ruff_python_formatter: update stale comment
Ref: #8811 (comment)
1 parent 6361b07 commit 8bed0d9

File tree

1 file changed

+3
-3
lines changed
  • crates/ruff_python_formatter/src/expression/string

1 file changed

+3
-3
lines changed

crates/ruff_python_formatter/src/expression/string/docstring.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -637,11 +637,11 @@ enum CodeExampleAddAction<'src> {
637637
///
638638
/// This is guaranteed to be non-empty.
639639
code: Vec<CodeExampleLine<'src>>,
640-
/// When set, the line is considered not part of any code example
641-
/// and should be formatted as if the `Ignore` action were returned.
640+
/// When set, the line is considered not part of any code example and
641+
/// should be formatted as if the [`Print`] action were returned.
642642
/// Otherwise, if there is no line, then either one does not exist
643643
/// or it is part of another code example and should be treated as a
644-
/// `Kept` action.
644+
/// [`Kept`] action.
645645
original: Option<DocstringLine<'src>>,
646646
},
647647
}

0 commit comments

Comments
 (0)