From dfd3c9a78dfdbbdfd1841171055e72b6ea40323a Mon Sep 17 00:00:00 2001 From: augustelalande Date: Wed, 12 Nov 2025 18:00:52 -0500 Subject: [PATCH] typo --- .../ruff_linter/src/rules/pydoclint/rules/check_docstring.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ruff_linter/src/rules/pydoclint/rules/check_docstring.rs b/crates/ruff_linter/src/rules/pydoclint/rules/check_docstring.rs index 5064deb941..f879478800 100644 --- a/crates/ruff_linter/src/rules/pydoclint/rules/check_docstring.rs +++ b/crates/ruff_linter/src/rules/pydoclint/rules/check_docstring.rs @@ -528,7 +528,7 @@ impl<'a> ParametersSection<'a> { } } - fn extends_from_section(&mut self, section: &SectionContext<'a>, style: Option) { + fn extend_from_section(&mut self, section: &SectionContext<'a>, style: Option) { let mut new_entries = parse_parameters( section.following_lines_str(), section.following_range().start(), @@ -562,7 +562,7 @@ impl<'a> DocstringSections<'a> { | SectionKind::OtherParams | SectionKind::OtherParameters => { if let Some(ref mut parameters_section) = docstring_sections.parameters { - parameters_section.extends_from_section(§ion, style); + parameters_section.extend_from_section(§ion, style); } else { docstring_sections.parameters = Some(ParametersSection::from_section(§ion, style));