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:
508173f
)
zcoord: Fix docs for some_range
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 17 Jul 2021 11:37:26 +0000
(12:37 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 17 Jul 2021 13:19:03 +0000
(14:19 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
base/zcoord.rs
patch
|
blob
|
history
diff --git
a/base/zcoord.rs
b/base/zcoord.rs
index 83f83a66d41f8f927ff2365d98d69686fb331778..2264174c435b96622f93394b52b570420745fb8e 100644
(file)
--- a/
base/zcoord.rs
+++ b/
base/zcoord.rs
@@
-473,7
+473,7
@@
impl Mutable {
IteratorCore { current: self, aso, mr: MutateFirst }
}
#[throws(LogicError)]
- /// Iterator producing a
half-open range, `[a, b)
`
+ /// Iterator producing a
n open range, `<a, b>
`
pub fn some_range(a: Option<&Mutable>, b: Option<&Mutable>,
count: RangeCount) -> BoxedIterator {
fn mk<T:'static + Debug + Iterator<Item=ZCoord>>(x: T) -> BoxedIterator