diff --git a/src/lib.rs b/src/lib.rs index 7124eb0..7da01dd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -646,8 +646,8 @@ pub trait Context: context::private::Sealed { /// | consider giving this pattern the explicit type `std::result::Result`, where the type parameter `E` is specified /// ``` #[allow(non_snake_case)] -pub fn Ok(t: T) -> Result { - Result::Ok(t) +pub fn Ok(value: T) -> Result { + Result::Ok(value) } // Not public API. Referenced by macro-generated code.