fix release

This commit is contained in:
2023-10-11 12:25:13 -04:00
parent ad362d90d5
commit a607b4267c
2 changed files with 30 additions and 16 deletions

View File

@@ -1,3 +1,4 @@
use std::fs::File;
use anything::{Anything, Nothing};
pub fn func_1() -> Result<(),Anything> {
@@ -15,9 +16,10 @@ pub fn func_3() -> Result<(),Nothing> {
Ok(())
}
fn func_4() -> Anything {
let a= std::io::Error::last_os_error();
Anything::from(a)
fn func_4() -> Result<(), Anything> {
let _ = Anything::from(File::open("afsfasfd").unwrap_err());
let _ = File::open("afsfasfd")?;
Ok(())
}
fn func_5() -> Result<(), Anything> {