/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

hackmd.io
| | hashrust.com

Understand how closures really work in Rust
2.6 parsecs

Travel
| |
| | huonw.github.io

Closures in Rust are powerful and flexible, building on traits, generics and ownership.
2.2 parsecs

Travel
| |
| | blog.weiznich.de

Release announcements for diesel-async 0.9
1.9 parsecs

Travel
| |
| | boats.gitlab.io

Today I realized a new crate called pin-cell. This crate contains a type called PinCell, which is a kind of cell that is similar to RefCell, but only can allow pinned mutable references into its interior. Right now, the crate is nightly only and no-std compatible. How is the API of PinCell different from RefCell? When you call borrow_mut on a RefCell, you get a type back that implements DerefMut, allowing you to mutate the interior value.
16.2 parsecs

Travel
|