Fix `cargo test --doc` (#3766)

This commit is contained in:
konstin 2023-03-28 13:36:07 +02:00 committed by GitHub
parent f68c26a506
commit 756e9956a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -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;