doc(capi): add error doc for infallible error

This commit is contained in:
chyyran 2024-09-22 02:02:09 -04:00 committed by Ronny Chan
parent c3469520f9
commit 987e967269

View file

@ -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),
}