From 71869795f96db39ae9a6868c32dd98924174f3d4 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 16 May 2021 00:35:01 +0100 Subject: [PATCH] Drop a todo: MultiSpec We don't want to dedupe this; the list of items is completely fixed by the input. Signed-off-by: Ian Jackson --- src/shapelib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/shapelib.rs b/src/shapelib.rs index 1322ea55..a343f027 100644 --- a/src/shapelib.rs +++ b/src/shapelib.rs @@ -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() -- 2.30.2