File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -627,11 +627,11 @@ pub trait Context<T, E>: context::private::Sealed {
627627 F : FnOnce ( ) -> C ;
628628}
629629
630- /// Equivalent to Ok::<_, anyhow::Error>(value).
630+ /// Equivalent to ` Ok::<_, anyhow::Error>(value)` .
631631///
632- /// This simplifies creation of an anyhow::Result in places where type inference
633- /// cannot deduce the `E` type of the result — without needing to write
634- /// `Ok::<_, anyhow::Error>(value)`.
632+ /// This simplifies creation of an ` anyhow::Result` in places where type
633+ /// inference cannot deduce the `E` type of the result — without needing
634+ /// to write `Ok::<_, anyhow::Error>(value)`.
635635///
636636/// One might think that `anyhow::Result::Ok(value)` would work in such cases
637637/// but it does not.
You can’t perform that action at this time.
0 commit comments