From c00a5b9de2cabd21423e09590cab14c72f6e6cb5 Mon Sep 17 00:00:00 2001 From: kageru Date: Tue, 21 Apr 2020 17:25:13 +0200 Subject: [PATCH] fix broken footnote --- src/iterators.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/iterators.md b/src/iterators.md index 06657fa..502c21c 100644 --- a/src/iterators.md +++ b/src/iterators.md @@ -164,7 +164,9 @@ fun withGenerator() = .sum() ``` -with `const val upper = 1_000_000_000L`.[^`1 until upper` is used in these examples because unlike `lower..upper`, `until` is end-inclusive like Java’s LongStream.range().] +with `const val upper = 1_000_000_000L`.[^offbyone] + +[^offbyone]: `1 until upper` is used in these examples because unlike `lower..upper`, `until` is end-inclusive like Java’s LongStream.range(). Without wasting any more of your time, here are the results: