Skip to content

Commit

Permalink
Rename no_std_error module to avoid confusion with core::error::Error
Browse files Browse the repository at this point in the history
  • Loading branch information
shepmaster committed Sep 23, 2024
1 parent 493bd0e commit 695247b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -366,15 +366,15 @@ pub use std::error::Error;
feature = "std",
test
)))]
mod no_std_error;
mod fallback_error;
#[cfg(not(any(
feature = "rust_1_81",
feature = "unstable-core-error",
feature = "std",
test
)))]
#[doc(hidden)]
pub use no_std_error::Error;
pub use fallback_error::Error;

/// Ensure a condition is true. If it is not, return from the function
/// with an error.
Expand Down

0 comments on commit 695247b

Please sign in to comment.