diff options
| author | C. Morgan Hamill <me@cmhamill.org> | 2015-03-19 22:18:10 +0100 |
|---|---|---|
| committer | C. Morgan Hamill <me@cmhamill.org> | 2015-03-20 13:58:46 +0100 |
| commit | fb76ee5ec2368c6f36d8a4f73234e614ee6ca0d0 (patch) | |
| tree | 2953f772a504d0376a659522597e5e14fc48e91d /src/lib.rs | |
| parent | 2c0a26ddf8385a4363cb8d4c54259abb33932ea8 (diff) | |
| download | mail-fb76ee5ec2368c6f36d8a4f73234e614ee6ca0d0.tar.gz | |
Add `ToStr` and `ToStaticStr` traits.
Allow easy mapping of borrowed C strings to borrowed strings with
appropriate lifetimes.
I have some doubts about this, as I'm not 100% on how lifetimes interact
with the notmuch-provided strings yet.
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,4 +1,4 @@ -#![feature(libc)] +#![feature(core, libc)] extern crate libc; #[macro_use] |
