Fix doctest

This commit is contained in:
Ali Bektas 2023-09-20 19:43:02 +02:00
parent 8ad536f2d1
commit 695a1349fa
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ use crate::assist_context::{AssistContext, Assists};
//
// fn main() -> () {
// let a = 3;
// let b: B = B::from(a);
// let b: B = <B>::from(a);
// }
// ```
pub(crate) fn into_to_qualified_from(acc: &mut Assists, ctx: &AssistContext<'_>) -> Option<()> {

View file

@ -1812,7 +1812,7 @@ impl From<i32> for B {
fn main() -> () {
let a = 3;
let b: B = B::from(a);
let b: B = <B>::from(a);
}
"#####,
)