File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ impl DocTestBuilder {
208
208
let ( main_pre, main_post) = if returns_result {
209
209
(
210
210
format ! (
211
- "fn main() {{ {inner_attr}fn {inner_fn_name}() -> Result<(), impl core::fmt::Debug> {{\n " ,
211
+ "fn main() {{ {inner_attr}fn {inner_fn_name}() -> core::result:: Result<(), impl core::fmt::Debug> {{\n " ,
212
212
) ,
213
213
format ! ( "\n }} {inner_fn_name}().unwrap() }}" ) ,
214
214
)
Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ let mut input = String::new();
316
316
io::stdin().read_line(&mut input)?;
317
317
Ok::<(), io:Error>(())" ;
318
318
let expected = "#![allow(unused)]
319
- fn main() { fn _inner() -> Result<(), impl core::fmt::Debug> {
319
+ fn main() { fn _inner() -> core::result:: Result<(), impl core::fmt::Debug> {
320
320
use std::io;
321
321
let mut input = String::new();
322
322
io::stdin().read_line(&mut input)?;
You can’t perform that action at this time.
0 commit comments