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.
2 parents 54036cc + 85d9ea9 commit dff8c43Copy full SHA for dff8c43
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