borrowme 0.1.0

The missing compound borrowing for Rust.
Documentation
1
2
3
4
5
6
7
use borrowme::borrowme;

#[borrowme]
struct VecField<'a> {
    #[borrowme(borrow_with = std::slice::as_slice)]
    strings: &'a [String],
}