build: remove unused anyhow dependency
This commit is contained in:
1 parent
b20e9c90ce
commit
5917ceecad
62 files changed
+3
-7334
No files matched your search
@@ -1,14 +0,0 @@
|
||||
use anyhow::{bail, Result};
|
||||
use std::io;
|
||||
|
||||
pub fn bail_literal() -> Result<()> {
|
||||
bail!("oh no!");
|
||||
}
|
||||
|
||||
pub fn bail_fmt() -> Result<()> {
|
||||
bail!("{} {}!", "oh", "no");
|
||||
}
|
||||
|
||||
pub fn bail_error() -> Result<()> {
|
||||
bail!(io::Error::new(io::ErrorKind::Other, "oh no!"));
|
||||
}
|
||||
Reference in new issue
Block a user