File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ impl DocTestBuilder {
208208 let ( main_pre, main_post) = if returns_result {
209209 (
210210 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 " ,
212212 ) ,
213213 format ! ( "\n }} {inner_fn_name}().unwrap() }}" ) ,
214214 )
Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ let mut input = String::new();
316316io::stdin().read_line(&mut input)?;
317317Ok::<(), io:Error>(())" ;
318318 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> {
320320use std::io;
321321let mut input = String::new();
322322io::stdin().read_line(&mut input)?;
You can’t perform that action at this time.
0 commit comments