Skip to content

Commit

Permalink
Add "Naming Your Lifetimes" by Possible Rust
Browse files Browse the repository at this point in the history
  • Loading branch information
mre authored May 31, 2021
1 parent 2f8d791 commit e9c26d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ This repository collects resources for writing clean, idiomatic Rust code. [Plea

### 2021

* [Naming Your Lifetimes](https://www.possiblerust.com/pattern/naming-your-lifetimes) by [Possible Rust](https://www.possiblerust.com) - Explains how using longer, declarative lifetime names can help to disambiguate which borrow is which, and where it’s coming from.
* [Aiming for idiomatic Rust](https://shane-o.dev/blog/aiming-for-idiomatic-rust) by [Shane Osbourne](https://shane-o.dev/) - Discusses different ways to solve a popular coding puzzle, "balanced brackets", in Rust.
* [Wrapping errors in Rust](https://edgarluque.com/blog/wrapping-errors-in-rust) by [Edgar Luque](https://github.com/edg-l) - Wrapping `reqwest::Error` and a custom error type as an enum to make library usage easier. Also mentions [thiserror](https://github.com/dtolnay/thiserror) to automate that process.

Expand Down

0 comments on commit e9c26d4

Please sign in to comment.