aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/diagnostics.rs
diff options
context:
space:
mode:
authorIgor Aleksanov <[email protected]>2020-10-04 07:26:39 +0100
committerIgor Aleksanov <[email protected]>2020-10-12 09:05:00 +0100
commit9ea57cac0e9779ac0749ef568eeb3977fe3adacd (patch)
treec1a89dce0d234c6b193f3145c84779d229e27404 /crates/hir_ty/src/diagnostics.rs
parent50a147dcdfd0df462f0c24e5d7bcfe60abadac32 (diff)
Fix code style issues
Diffstat (limited to 'crates/hir_ty/src/diagnostics.rs')
-rw-r--r--crates/hir_ty/src/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_ty/src/diagnostics.rs b/crates/hir_ty/src/diagnostics.rs
index 40f8c8ba2..f2e06495e 100644
--- a/crates/hir_ty/src/diagnostics.rs
+++ b/crates/hir_ty/src/diagnostics.rs
@@ -21,7 +21,7 @@ pub fn validate_module_item(
21 owner: ModuleDefId, 21 owner: ModuleDefId,
22 sink: &mut DiagnosticSink<'_>, 22 sink: &mut DiagnosticSink<'_>,
23) { 23) {
24 let _p = profile::span("validate_body"); 24 let _p = profile::span("validate_module_item");
25 let mut validator = decl_check::DeclValidator::new(owner, sink); 25 let mut validator = decl_check::DeclValidator::new(owner, sink);
26 validator.validate_item(db); 26 validator.validate_item(db);
27} 27}