mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 10:48:32 +00:00
Fix cargo test --doc
(#3766)
This commit is contained in:
parent
f68c26a506
commit
756e9956a2
1 changed files with 1 additions and 3 deletions
|
@ -278,9 +278,7 @@ struct Entry {
|
|||
}
|
||||
|
||||
impl Parse for Entry {
|
||||
/// Parses a match arm like:
|
||||
///
|
||||
/// (Pycodestyle, "E101") => Rule::MixedSpacesAndTabs,
|
||||
/// Parses a match arm such as `(Pycodestyle, "E101") => Rule::MixedSpacesAndTabs,`
|
||||
fn parse(input: syn::parse::ParseStream) -> syn::Result<Self> {
|
||||
let attrs = Attribute::parse_outer(input)?;
|
||||
let pat_tuple;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue