From 5048977a6b3c7a9c1661daaa7025e93316127955 Mon Sep 17 00:00:00 2001 From: z78078 Date: Fri, 8 Jul 2022 17:45:23 +0800 Subject: [PATCH] nac3artiq remove unecessary space --- nac3artiq/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nac3artiq/src/lib.rs b/nac3artiq/src/lib.rs index c0eac07..a12c766 100644 --- a/nac3artiq/src/lib.rs +++ b/nac3artiq/src/lib.rs @@ -396,7 +396,7 @@ impl Nac3 { if let StmtKind::FunctionDef { name, decorator_list, .. } = &stmt.node { if let Some(location) = decorator_list .iter() - .find_map(|ast::Located { location, node, .. } | { + .find_map(|ast::Located { location, node, .. }| { match node { ExprKind::Name { id, .. } if id == &"rpc".into() => Some(location), _ => None,