mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-16 07:03:57 +00:00
Remove empty line
This commit is contained in:
parent
7abcc7d862
commit
f494d1199d
2 changed files with 0 additions and 2 deletions
|
@ -3407,7 +3407,6 @@ impl Type {
|
||||||
// arg can be either a `Ty` or `constant`
|
// arg can be either a `Ty` or `constant`
|
||||||
if let Some(ty) = arg.ty(Interner) {
|
if let Some(ty) = arg.ty(Interner) {
|
||||||
Some(SmolStr::new(ty.display(db).to_string()))
|
Some(SmolStr::new(ty.display(db).to_string()))
|
||||||
// Some(ty)
|
|
||||||
} else if let Some(const_) = arg.constant(Interner) {
|
} else if let Some(const_) = arg.constant(Interner) {
|
||||||
Some(SmolStr::new_inline(&const_.display(db).to_string()))
|
Some(SmolStr::new_inline(&const_.display(db).to_string()))
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -2325,7 +2325,6 @@ impl<A, C, const D: u32> Data<'a, A, 12, C, D> {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn doc_test_type_params() {
|
fn doc_test_type_params() {
|
||||||
check(
|
check(
|
||||||
|
|
Loading…
Reference in a new issue