borrowme 0.1.0

The missing compound borrowing for Rust.
Documentation
1
2
3
4
5
6
7
8
9
#![allow(dead_code)]

use borrowme::borrowme;

#[borrowme]
struct DeriveStaticField<'a> {
    text: &'static str,
    lang: &'a str,
}