Skip to content

Commit

Permalink
fix(nassun): try and get rustdoc to show NassunError at the toplevel …
Browse files Browse the repository at this point in the history
…to play nicer with miette
  • Loading branch information
zkat committed Apr 18, 2023
1 parent 9003838 commit e563871
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/nassun/src/lib.rs
Expand Up @@ -6,7 +6,7 @@ pub use oro_package_spec::{GitHost, GitInfo, PackageSpec, VersionSpec};

pub mod client;
pub mod entries;
pub mod error;
mod error;
pub mod fetch;
pub mod package;
pub mod resolver;
Expand Down
2 changes: 1 addition & 1 deletion crates/node-maintainer/src/error.rs
Expand Up @@ -104,7 +104,7 @@ pub enum NodeMaintainerError {
/// Generic error returned from Nassun.
#[error(transparent)]
#[diagnostic(transparent)]
NassunError(#[from] nassun::error::NassunError),
NassunError(#[from] nassun::NassunError),

/// Generic serde_json error.
#[error(transparent)]
Expand Down

0 comments on commit e563871

Please sign in to comment.