Format goto_type_definition
diff --git a/crates/ide/src/goto_type_definition.rs b/crates/ide/src/goto_type_definition.rs
index 9781e71..c58e514 100644
--- a/crates/ide/src/goto_type_definition.rs
+++ b/crates/ide/src/goto_type_definition.rs
@@ -70,11 +70,10 @@
}
let range = token.text_range();
- sema.descend_into_macros_no_opaque(token,false)
+ sema.descend_into_macros_no_opaque(token, false)
.into_iter()
.filter_map(|token| {
- sema
- .token_ancestors_with_macros(token.value)
+ sema.token_ancestors_with_macros(token.value)
// When `token` is within a macro call, we can't determine its type. Don't continue
// this traversal because otherwise we'll end up returning the type of *that* macro
// call, which is not what we want in general.
@@ -103,7 +102,6 @@
_ => return None,
}
};
-
Some(ty)
})
})