Skip to content

Commit

Permalink
Remove line about return value
Browse files Browse the repository at this point in the history
  • Loading branch information
benfrankel committed Nov 1, 2024
1 parent 6f6ea2a commit 140f5c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,9 @@ Along with their tiny aliases:
[`b!`](https://docs.rs/tiny_bail/latest/tiny_bail/macro.b.html), and
[`bq!`](https://docs.rs/tiny_bail/latest/tiny_bail/macro.bq.html).

The macros support `Result`, `Option`, and `bool` types out of the box. Implement
The macros support `Result`, `Option`, and `bool` types out of the box. You can implement
[`IntoResult`](https://docs.rs/tiny_bail/latest/tiny_bail/trait.IntoResult.html) to extend this to other types.

You can specify a return value as an optional first argument to the macro, or omit it to default to
`Default::default()`—which works even in functions with no return value.

# Example

```rust
Expand Down
3 changes: 0 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
//! The macros support [`Result`], [`Option`], and [`bool`] types out of the box.
//! Implement [`IntoResult`] to extend this to other types.
//!
//! You can specify a return value as an optional first argument to the macro, or omit it to default to
//! [`Default::default()`]—which works even in functions with no return value.
//!
//! # Example
//!
//! ```rust
Expand Down

0 comments on commit 140f5c3

Please # to comment.