Skip to content
Myr

Merge pull request #432 from wyrapeseed/master

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by GitHub · parents 0df99b4, 0e1f724 · Browse files · 2 files+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • chore: Fix problematic comment

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:src/backtrace.rs+1 added-1 removed
231 unmodified lines
232 }233 true234 });235236 // If no frames came out assume that this is an unsupported platform236 // If no frames came out, assume that this is an unsupported platform237 // since `backtrace` doesn't provide a way of learning this right238 // now, and this should be a good enough approximation.239 let inner = if frames.is_empty() {240 Inner::Unsupported
170 unmodified lines
modified:src/lib.rs+1 added-1 removed
633 unmodified lines
634/// Equivalent to `Ok::<_, anyhow::Error>(value)`.635///636/// This simplifies creation of an `anyhow::Result` in places where type637/// inference cannot deduce the `E` type of the result &mdash; without needing638/// to write`Ok::<_, anyhow::Error>(value)`.638/// to write `Ok::<_, anyhow::Error>(value)`.639///640/// One might think that `anyhow::Result::Ok(value)` would work in such cases641/// but it does not.642///
94 unmodified lines