mirror of https://github.com/astral-sh/ruff
Fix `cargo test --doc` (#3766)
This commit is contained in:
parent
f68c26a506
commit
756e9956a2
|
|
@ -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…
Reference in New Issue