mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-26 11:59:35 +00:00
Run cargo fmt
This commit is contained in:
parent
6f31b002f8
commit
55619b321a
1 changed files with 2 additions and 2 deletions
|
@ -1324,8 +1324,8 @@ fn missing_args(checker: &mut Checker, definition: &Definition, docstrings_args:
|
|||
}
|
||||
}
|
||||
|
||||
// Check specifically for `vararg` and `kwarg`, which can be prefixed with a single or
|
||||
// double star, respectively.
|
||||
// Check specifically for `vararg` and `kwarg`, which can be prefixed with a
|
||||
// single or double star, respectively.
|
||||
if let Some(arg) = &arguments.vararg {
|
||||
let arg_name = arg.node.arg.as_str();
|
||||
let starred_arg_name = format!("*{arg_name}");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue