From: Ian Jackson Date: Sat, 15 May 2021 23:35:01 +0000 (+0100) Subject: Drop a todo: MultiSpec X-Git-Tag: otter-0.6.0~238 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=71869795f96db39ae9a6868c32dd98924174f3d4;p=otter.git 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 --- 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()