mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 13:25:17 +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 {
|
impl Parse for Entry {
|
||||||
/// Parses a match arm like:
|
/// Parses a match arm such as `(Pycodestyle, "E101") => Rule::MixedSpacesAndTabs,`
|
||||||
///
|
|
||||||
/// (Pycodestyle, "E101") => Rule::MixedSpacesAndTabs,
|
|
||||||
fn parse(input: syn::parse::ParseStream) -> syn::Result<Self> {
|
fn parse(input: syn::parse::ParseStream) -> syn::Result<Self> {
|
||||||
let attrs = Attribute::parse_outer(input)?;
|
let attrs = Attribute::parse_outer(input)?;
|
||||||
let pat_tuple;
|
let pat_tuple;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue