Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
c410-f3r committed Jul 10, 2024
1 parent f8e8acc commit 09e78be
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
3 changes: 1 addition & 2 deletions ndstruct/src/coo/coo_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,4 @@ impl Display for CooError {
}
}

#[cfg(feature = "std")]
impl std::error::Error for CooError {}
impl core::error::Error for CooError {}
3 changes: 1 addition & 2 deletions ndstruct/src/csl/csl_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,4 @@ impl Display for CslError {
}
}

#[cfg(feature = "std")]
impl std::error::Error for CslError {}
impl core::error::Error for CslError {}
3 changes: 1 addition & 2 deletions ndstruct/src/csl/csl_line_constructor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,5 +170,4 @@ impl Display for CslLineConstructorError {
}
}

#[cfg(feature = "std")]
impl std::error::Error for CslLineConstructorError {}
impl core::error::Error for CslLineConstructorError {}
3 changes: 1 addition & 2 deletions ndstruct/src/dense/dense_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ impl Display for DenseError {
}
}

#[cfg(feature = "std")]
impl std::error::Error for DenseError {}
impl core::error::Error for DenseError {}
3 changes: 1 addition & 2 deletions ndstruct/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ impl Display for Error {
}
}

#[cfg(feature = "std")]
impl std::error::Error for Error {}
impl core::error::Error for Error {}

impl From<cl_aux::Error> for Error {
#[inline]
Expand Down

0 comments on commit 09e78be

Please sign in to comment.