]> git.proxmox.com Git - cargo.git/commitdiff
Remove some dead code
authorAlex Crichton <alex@alexcrichton.com>
Mon, 1 Feb 2016 21:34:02 +0000 (13:34 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 1 Aug 2016 17:11:20 +0000 (10:11 -0700)
src/cargo/core/summary.rs

index 01697171d2ff546e49c4271bac22257ad1e70322..419cc05d5235f373c0f3bdd94a4e7b02a4e115db 100644 (file)
@@ -88,15 +88,3 @@ impl PartialEq for Summary {
         self.package_id == other.package_id
     }
 }
-
-pub trait SummaryVec {
-    fn names(&self) -> Vec<String>;
-}
-
-impl SummaryVec for Vec<Summary> {
-    // TODO: Move to Registry
-    fn names(&self) -> Vec<String> {
-        self.iter().map(|summary| summary.name().to_string()).collect()
-    }
-
-}