chore: remove more Chain.. occurences

Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
Harald Hoyer 2023-07-28 15:28:27 +02:00
parent cacfb37d44
commit cb2e1509e5
Signed by: harald
GPG key ID: 900F3C4971086004
3 changed files with 8 additions and 9 deletions

View file

@ -1,4 +1,4 @@
use chainerror::prelude::v1::*;
use chainerror::ResultTrait;
#[test]
fn test_basic() {
@ -19,7 +19,6 @@ fn test_basic() {
if let Err(e) = process_config_file() {
let os_notfound_error = std::io::Error::from_raw_os_error(2);
eprintln!("Error:\n{:?}", e);
let s = format!("{:?}", e);
let lines = s.lines().collect::<Vec<_>>();
assert_eq!(lines.len(), 5);

View file

@ -1,4 +1,4 @@
use chainerror::prelude::v1::*;
use chainerror::ResultTrait;
use std::error::Error;
use std::io;