Skip to content

Commit

Permalink
ruff_python_formatter: update stale comment
Browse files Browse the repository at this point in the history
  • Loading branch information
BurntSushi committed Dec 1, 2023
1 parent 6361b07 commit 8bed0d9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -637,11 +637,11 @@ enum CodeExampleAddAction<'src> {
///
/// This is guaranteed to be non-empty.
code: Vec<CodeExampleLine<'src>>,
/// 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<DocstringLine<'src>>,
},
}
Expand Down

0 comments on commit 8bed0d9

Please sign in to comment.