Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide_assists/src/tests/generated.rs')
| -rw-r--r-- | crates/ide_assists/src/tests/generated.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide_assists/src/tests/generated.rs b/crates/ide_assists/src/tests/generated.rs index 653e51c837..c67e15b2ce 100644 --- a/crates/ide_assists/src/tests/generated.rs +++ b/crates/ide_assists/src/tests/generated.rs @@ -844,7 +844,7 @@ fn doctest_generate_documentation_template() { check_doc_test( "generate_documentation_template", r#####" -fn my_$0func(a: i32, b: i32) -> Result<(), std::io::Error> { +pub fn my_$0func(a: i32, b: i32) -> Result<(), std::io::Error> { unimplemented!() } "#####, @@ -862,7 +862,7 @@ fn my_$0func(a: i32, b: i32) -> Result<(), std::io::Error> { /// # Errors /// /// This function will return an error if . -fn my_func(a: i32, b: i32) -> Result<(), std::io::Error> { +pub fn my_func(a: i32, b: i32) -> Result<(), std::io::Error> { unimplemented!() } "#####, |