mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 22:01:18 +00:00
[ruff
] Fix minor typos in doc comments (#20623)
This commit is contained in:
parent
65e805de62
commit
666f53331f
8 changed files with 8 additions and 8 deletions
|
@ -2101,7 +2101,7 @@ impl<'a> SemanticModel<'a> {
|
|||
/// Finds and returns the [`Scope`] corresponding to a given [`ast::StmtFunctionDef`].
|
||||
///
|
||||
/// This method searches all scopes created by a function definition, comparing the
|
||||
/// [`TextRange`] of the provided `function_def` with the the range of the function
|
||||
/// [`TextRange`] of the provided `function_def` with the range of the function
|
||||
/// associated with the scope.
|
||||
pub fn function_scope(&self, function_def: &ast::StmtFunctionDef) -> Option<&Scope<'_>> {
|
||||
self.scopes.iter().find(|scope| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue