contain-rs / lru-cache

A cache that holds a limited number of key-value pairs
https://contain-rs.github.io/lru-cache/lru_cache/
Apache License 2.0
82 stars 36 forks source link

Fix doctests #1

Closed Gankra closed 9 years ago

Gankra commented 9 years ago

dashes vs underscores is causing trouble

apasel422 commented 9 years ago

Presumably we need to add

extern crate "lru-cache" as lru_cache;

to each one until Cargo handles the transformation for us.

apasel422 commented 9 years ago

Of course, this will necessitate something like

/// extern crate "lru-cache" as lru_cache;
/// fn main() {
/// // actual test code
/// }
Gankra commented 9 years ago

I'm pretty tempted to just let stuff keep failing at that cost. Anyway low priority while we handle all the other migrations.