mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 10:48:32 +00:00
Fix typo in documentation (#9069)
## Summary Fix a couple typos: - I'm certain about `It's is` → `It is`. - Not sure about `is it's` → `if it's` because I don't understand the sentence. ## Test Plan No tests.
This commit is contained in:
parent
20e33bf514
commit
85fc57e7f9
2 changed files with 2 additions and 2 deletions
|
@ -218,7 +218,7 @@ call, for single items `.format().fmt(f)` or `.fmt(f)` is sufficient.
|
|||
impl FormatNodeRule<StmtReturn> for FormatStmtReturn {
|
||||
fn fmt_fields(&self, item: &StmtReturn, f: &mut PyFormatter) -> FormatResult<()> {
|
||||
// Here we destructure item and make sure each field is listed.
|
||||
// We generally don't need range is it's underscore-ignored
|
||||
// We generally don't need range if it's underscore-ignored
|
||||
let StmtReturn { range: _, value } = item;
|
||||
// Implement some formatting logic, in this case no space (and no value) after a return with
|
||||
// no value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue