Skip to content

Commit

Permalink
Add changelog to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
snowsignal committed Mar 23, 2019
1 parent bee1431 commit 6e27878
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Expand Up @@ -76,5 +76,27 @@ fn main() {
In addition, cascades make it easier to design fluent interfaces.
No more returning `self` with every single function!

### Changelog
**0.1.3**: The ? operator now works with cascades, for scenarios like this:
```rust
fn file_read() -> Result<SomeFileClass, ErrorMsg> {
cascade! {
SomeFileClass::create_file_reader("test.txt");
..load()?;
..check_validity()?;
}
}
```

**0.1.2**: You can now chain methods together, like this:
```rust
fn chain_example() {
cascade! {
FnChainTest::new();
..chain().chain().chain();
}
}
```

### Credits
Written by Jackson Lewis

0 comments on commit 6e27878

Please sign in to comment.