doc(capi): add error doc for infallible error
This commit is contained in:
parent
c3469520f9
commit
987e967269
|
@ -89,6 +89,7 @@ pub enum LibrashaderError {
|
||||||
#[cfg(all(target_vendor = "apple", feature = "runtime-metal"))]
|
#[cfg(all(target_vendor = "apple", feature = "runtime-metal"))]
|
||||||
#[error("There was an error in the Metal filter chain.")]
|
#[error("There was an error in the Metal filter chain.")]
|
||||||
MetalFilterError(#[from] librashader::runtime::mtl::error::FilterChainError),
|
MetalFilterError(#[from] librashader::runtime::mtl::error::FilterChainError),
|
||||||
|
/// This error is unreachable.
|
||||||
#[error("This error is not reachable")]
|
#[error("This error is not reachable")]
|
||||||
Infallible(#[from] std::convert::Infallible),
|
Infallible(#[from] std::convert::Infallible),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue