nac3artiq remove unecessary space

This commit is contained in:
z78078 2022-07-08 17:45:23 +08:00
parent 11af619455
commit 5048977a6b

View File

@ -396,7 +396,7 @@ impl Nac3 {
if let StmtKind::FunctionDef { name, decorator_list, .. } = &stmt.node { if let StmtKind::FunctionDef { name, decorator_list, .. } = &stmt.node {
if let Some(location) = decorator_list if let Some(location) = decorator_list
.iter() .iter()
.find_map(|ast::Located { location, node, .. } | { .find_map(|ast::Located { location, node, .. }| {
match node { match node {
ExprKind::Name { id, .. } if id == &"rpc".into() => Some(location), ExprKind::Name { id, .. } if id == &"rpc".into() => Some(location),
_ => None, _ => None,