We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54036cc commit 85d9ea9Copy full SHA for 85d9ea9
1 file changed
src/lib.rs
@@ -646,6 +646,7 @@ 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
+#[inline]
650
pub fn Ok<T>(value: T) -> Result<T> {
651
Result::Ok(value)
652
}
0 commit comments