Skip to content

Commit

Permalink
Hide deprecated constants
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Mar 3, 2025
1 parent 8102dd5 commit 2dde619
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ impl Error {
/// Encountered an unexpected situation which should not happen in practice.
pub const UNEXPECTED: Error = Self::new_internal(2);

/// Deprecated.
#[deprecated]
#[doc(hidden)]
pub const INTERNAL_START: u32 = 1 << 31;

/// Deprecated.
#[deprecated]
#[doc(hidden)]
pub const CUSTOM_START: u32 = (1 << 31) + (1 << 30);

/// Internal errors can be in the range of 2^16..2^17
Expand Down

0 comments on commit 2dde619

Please sign in to comment.