From 987e9672692945ac4696d49abf9216e3806f813f Mon Sep 17 00:00:00 2001 From: chyyran Date: Sun, 22 Sep 2024 02:02:09 -0400 Subject: [PATCH] doc(capi): add error doc for infallible error --- librashader-capi/src/error.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/librashader-capi/src/error.rs b/librashader-capi/src/error.rs index 3177bb7..e456ade 100644 --- a/librashader-capi/src/error.rs +++ b/librashader-capi/src/error.rs @@ -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), }