Skip to content

Commit 695a134

Browse files
committed
Fix doctest
1 parent 8ad536f commit 695a134

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/ide-assists/src/handlers/into_to_qualified_from.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ use crate::assist_context::{AssistContext, Assists};
3636
//
3737
// fn main() -> () {
3838
// let a = 3;
39-
// let b: B = B::from(a);
39+
// let b: B = <B>::from(a);
4040
// }
4141
// ```
4242
pub(crate) fn into_to_qualified_from(acc: &mut Assists, ctx: &AssistContext<'_>) -> Option<()> {

crates/ide-assists/src/tests/generated.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1812,7 +1812,7 @@ impl From<i32> for B {
18121812
18131813
fn main() -> () {
18141814
let a = 3;
1815-
let b: B = B::from(a);
1815+
let b: B = <B>::from(a);
18161816
}
18171817
"#####,
18181818
)

0 commit comments

Comments
 (0)