diff --git a/crates/ruff_python_formatter/src/expression/string/docstring.rs b/crates/ruff_python_formatter/src/expression/string/docstring.rs index 0e998daa1ccde7..21057e4645ceb0 100644 --- a/crates/ruff_python_formatter/src/expression/string/docstring.rs +++ b/crates/ruff_python_formatter/src/expression/string/docstring.rs @@ -637,11 +637,11 @@ enum CodeExampleAddAction<'src> { /// /// This is guaranteed to be non-empty. code: Vec>, - /// When set, the line is considered not part of any code example - /// and should be formatted as if the `Ignore` action were returned. + /// When set, the line is considered not part of any code example and + /// should be formatted as if the [`Print`] action were returned. /// Otherwise, if there is no line, then either one does not exist /// or it is part of another code example and should be treated as a - /// `Kept` action. + /// [`Kept`] action. original: Option>, }, }