1
0
mirror of https://github.com/danog/strum.git synced 2024-11-27 04:24:37 +01:00
strum/strum_macros
らりお (YOSHIOKA Takuma) 3988beefb9 Add AsStaticRef trait and let derive(AsRefStr) implement it (#24)
`#[derive(AsRefStr)]` will implement `AsStaticRef<str>`, and it
enables us to get `&'static str` by `AsStaticRef::<str>::as_static()`.

This will solve #23.
2018-05-26 10:57:04 -07:00
..
src Add AsStaticRef trait and let derive(AsRefStr) implement it (#24) 2018-05-26 10:57:04 -07:00
Cargo.toml Bump dependencies (mainly syn crate) (#22) 2018-05-12 15:29:21 -07:00