Unnamed repository; edit this file 'description' to name the repository.
Remove empty line
| -rw-r--r-- | crates/hir/src/lib.rs | 1 | ||||
| -rw-r--r-- | crates/ide/src/runnables.rs | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs index 82718b2f82..394ef4a9e0 100644 --- a/crates/hir/src/lib.rs +++ b/crates/hir/src/lib.rs @@ -3407,7 +3407,6 @@ impl Type { // 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 b4fa2f9b9f..8de81206b6 100644 --- a/crates/ide/src/runnables.rs +++ b/crates/ide/src/runnables.rs @@ -2325,7 +2325,6 @@ impl<A, C, const D: u32> Data<'a, A, 12, C, D> { ); } - #[test] fn doc_test_type_params() { check( |