From f494d1199d79a515275c8c82206ba0d426c7e3f6 Mon Sep 17 00:00:00 2001 From: Jonas Marcello Date: Mon, 27 Feb 2023 07:15:46 +0100 Subject: [PATCH] Remove empty line --- crates/hir/src/lib.rs | 1 - crates/ide/src/runnables.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs index 82718b2f82c..394ef4a9e09 100644 --- a/crates/hir/src/lib.rs +++ b/crates/hir/src/lib.rs @@ -3407,7 +3407,6 @@ pub fn type_and_const_arguments<'a>( // arg can be either a `Ty` or `constant` if let Some(ty) = arg.ty(Interner) { Some(SmolStr::new(ty.display(db).to_string())) - // Some(ty) } else if let Some(const_) = arg.constant(Interner) { Some(SmolStr::new_inline(&const_.display(db).to_string())) } else { diff --git a/crates/ide/src/runnables.rs b/crates/ide/src/runnables.rs index b4fa2f9b9f0..8de81206b6f 100644 --- a/crates/ide/src/runnables.rs +++ b/crates/ide/src/runnables.rs @@ -2325,7 +2325,6 @@ fn foo() {} ); } - #[test] fn doc_test_type_params() { check(