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:
committed by
GitHub
parent
20e33bf514
commit
85fc57e7f9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user