]> git.lizzy.rs Git - rust.git/commitdiff
Remove outdated FIXME from cache
authorMark Simulacrum <mark.simulacrum@gmail.com>
Fri, 14 Jul 2017 15:37:30 +0000 (09:37 -0600)
committerMark Simulacrum <mark.simulacrum@gmail.com>
Thu, 20 Jul 2017 17:24:36 +0000 (11:24 -0600)
src/bootstrap/cache.rs

index e2576673338b81b213bc1451706e434650b340f6..cc84bf074571af6f5003824479302db391ffe480 100644 (file)
@@ -257,9 +257,6 @@ pub fn intern_path(&self, s: PathBuf) -> Interned<PathBuf> {
 /// any type in its output. It is a write-once cache; values are never evicted,
 /// which means that references to the value can safely be returned from the
 /// get() method.
-//
-// FIXME: This type does not permit retrieving &Path from a PathBuf, primarily
-// due to a lack of any obvious way to ensure that this is safe, but also not
 #[derive(Debug)]
 pub struct Cache(
     RefCell<HashMap<