chiark / gitweb /
Drop a todo: MultiSpec
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 15 May 2021 23:35:01 +0000 (00:35 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 15 May 2021 23:35:01 +0000 (00:35 +0100)
We don't want to dedupe this; the list of items is completely fixed by
the input.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/shapelib.rs

index 1322ea553d3c0200e4353fa0cd3a39adc4b4855d..a343f0274133b240f76e7dd41a707075640abe91 100644 (file)
@@ -653,7 +653,6 @@ impl PieceSpec for MultiSpec {
     let item = self.items.get(i).ok_or_else(
       || SpE::InternalError(format!("item {:?} from {:?}", i, &self))
     )?;
-    // xxx dedupe
     let item = format!("{}{}{}", &self.prefix, item, &self.suffix);
     let lib = self.lib.clone();
     ItemSpec { lib, item }.find_load(ig,depth)?.into()