From f9707cde6801f13cc4c20e3e08cee07ef23b8563 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 5 Jan 2021 15:45:46 +0300 Subject: Rename expr -> tail_expr --- crates/hir_ty/src/display.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/hir_ty/src') diff --git a/crates/hir_ty/src/display.rs b/crates/hir_ty/src/display.rs index a54225c18..e9e949c47 100644 --- a/crates/hir_ty/src/display.rs +++ b/crates/hir_ty/src/display.rs @@ -168,7 +168,7 @@ pub enum DisplayTarget { impl DisplayTarget { fn is_source_code(&self) -> bool { - matches!(self, Self::SourceCode {..}) + matches!(self, Self::SourceCode { .. }) } fn is_test(&self) -> bool { matches!(self, Self::Test) -- cgit v1.2.3