Skip to content

Commit

Permalink
doc(capi): add error doc for infallible error
Browse files Browse the repository at this point in the history
  • Loading branch information
chyyran committed Sep 22, 2024
1 parent c346952 commit 987e967
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions librashader-capi/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ pub enum LibrashaderError {
#[cfg(all(target_vendor = "apple", feature = "runtime-metal"))]
#[error("There was an error in the Metal filter chain.")]
MetalFilterError(#[from] librashader::runtime::mtl::error::FilterChainError),
/// This error is unreachable.
#[error("This error is not reachable")]
Infallible(#[from] std::convert::Infallible),
}
Expand Down

0 comments on commit 987e967

Please sign in to comment.