Skip to content

Commit

Permalink
refactor(config): replace Error as IoError alias with qualified import
Browse files Browse the repository at this point in the history
  • Loading branch information
norskeld committed Mar 10, 2024
1 parent 8a3e633 commit c6faf4a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/manifest/manifest.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
use std::fs;
use std::io::Error as IoError;
use std::io;
use std::path::{Path, PathBuf};
use std::sync::Arc;

use kdl::{KdlDocument, KdlError, KdlNode};
use kdl::{KdlDocument, KdlNode};
use miette::{Diagnostic, LabeledSpan, NamedSource, Report};
use thiserror::Error;

Expand Down Expand Up @@ -31,12 +31,12 @@ pub enum ManifestError {
Io {
message: String,
#[source]
source: IoError,
source: io::Error,
},

#[error(transparent)]
#[diagnostic(transparent)]
Kdl(KdlError),
Kdl(kdl::KdlError),

#[error("{0}")]
#[diagnostic(transparent)]
Expand Down

0 comments on commit c6faf4a

Please sign in to comment.