We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2081692 + 863791a commit b9009abCopy full SHA for b9009ab
src/lib.rs
@@ -646,8 +646,8 @@ pub trait Context<T, E>: context::private::Sealed {
646
/// | consider giving this pattern the explicit type `std::result::Result<i32, E>`, where the type parameter `E` is specified
647
/// ```
648
#[allow(non_snake_case)]
649
-pub fn Ok<T>(t: T) -> Result<T> {
650
- Result::Ok(t)
+pub fn Ok<T>(value: T) -> Result<T> {
+ Result::Ok(value)
651
}
652
653
// Not public API. Referenced by macro-generated code.
0 commit comments