From da104bb0f57b061547860184cb81c507f50f9f8e Mon Sep 17 00:00:00 2001 From: Kevaundray Wedderburn Date: Mon, 18 Jan 2021 16:58:29 +0000 Subject: [PATCH] cargo fmt --- crates/hir_def/src/path.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/hir_def/src/path.rs b/crates/hir_def/src/path.rs index 61b64f70e0..a99f738829 100644 --- a/crates/hir_def/src/path.rs +++ b/crates/hir_def/src/path.rs @@ -88,7 +88,7 @@ impl ModPath { /// If this path is a single identifier, like `foo`, return its name. pub fn as_ident(&self) -> Option<&Name> { if !self.is_ident() { - return None + return None; } self.segments.first() }