mirror of
https://github.com/eyre-rs/eyre.git
synced 2025-10-02 07:21:36 +00:00
Update README.md
This commit is contained in:
parent
403f525435
commit
dc23e937ee
@ -1,4 +1,4 @@
|
|||||||
Eyre ¯\\\_(ツ)\_/¯
|
Jane-Eyre
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
[![Build Status][actions-badge]][actions-url]
|
[![Build Status][actions-badge]][actions-url]
|
||||||
@ -55,10 +55,9 @@ via your return type or a type annotation.
|
|||||||
// Will work fine
|
// Will work fine
|
||||||
let val: ErrReport = get_optional_val.ok_or_else(|| eyre!("failed to get value)).unwrap();
|
let val: ErrReport = get_optional_val.ok_or_else(|| eyre!("failed to get value)).unwrap();
|
||||||
```
|
```
|
||||||
|
|
||||||
[ErrReport]: https://docs.rs/eyre/1.0/eyre/struct.ErrReport.html
|
[ErrReport]: https://docs.rs/eyre/1.0/eyre/struct.ErrReport.html
|
||||||
[actions-badge]: https://github.com/yaahc/eyre/workflows/ci/badge.svg
|
[actions-badge]: https://github.com/yaahc/eyre/workflows/Continuous%20integration/badge.svg
|
||||||
[actions-url]:https://github.com/yaahc/eyre/actions?query=workflow%3Aci
|
[actions-url]:https://github.com/yaahc/eyre/actions?query=workflow%3A"Continuous+Integration"
|
||||||
|
|
||||||
## Customization
|
## Customization
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user