chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c0c6f9
)
Drop a todo: MultiSpec
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 15 May 2021 23:35:01 +0000
(
00:35
+0100)
committer
Ian 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
patch
|
blob
|
history
diff --git
a/src/shapelib.rs
b/src/shapelib.rs
index 1322ea553d3c0200e4353fa0cd3a39adc4b4855d..a343f0274133b240f76e7dd41a707075640abe91 100644
(file)
--- 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()