summaryrefslogtreecommitdiff
path: root/libphobos
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2020-02-17 13:20:06 +0100
committerMartin Liska <mliska@suse.cz>2020-02-17 13:20:06 +0100
commit1db97918101b2c22dfffa2242f13c7ea1b830558 (patch)
tree913391763a7bf277455cfa1f4172246e0d234486 /libphobos
parentabe13e1847fb91d43f02b5579c4230214d4369f4 (diff)
Fix a typo.
PR other/93756 * config/rx/elf.opt: Fix typo. PR other/93756 * src/std/algorithm/iteration.d: Fix typo.
Diffstat (limited to 'libphobos')
-rw-r--r--libphobos/ChangeLog5
-rw-r--r--libphobos/src/std/algorithm/iteration.d2
2 files changed, 6 insertions, 1 deletions
diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog
index 285dfa515b6..ace6a2fec92 100644
--- a/libphobos/ChangeLog
+++ b/libphobos/ChangeLog
@@ -1,3 +1,8 @@
+2020-02-17 Martin Liska <mliska@suse.cz>
+
+ PR other/93756
+ * src/std/algorithm/iteration.d: Fix typo.
+
2020-01-24 Maciej W. Rozycki <macro@wdc.com>
* m4/druntime.m4: Handle `--with-toolexeclibdir='.
diff --git a/libphobos/src/std/algorithm/iteration.d b/libphobos/src/std/algorithm/iteration.d
index 7e5782406d1..93cf1e7cfb3 100644
--- a/libphobos/src/std/algorithm/iteration.d
+++ b/libphobos/src/std/algorithm/iteration.d
@@ -3151,7 +3151,7 @@ The number of seeds must be correspondingly increased.
static assert(!is(typeof(reduce!(min, max)(tuple(c), "hello"))));
//"Seed (dchar, dchar, dchar) does not have the correct amount of fields (should be 2)"
static assert(!is(typeof(reduce!(min, max)(tuple(c, c, c), "hello"))));
- //"Incompatable function/seed/element: all(alias pred = "a")/int/dchar"
+ //"Incompatible function/seed/element: all(alias pred = "a")/int/dchar"
static assert(!is(typeof(reduce!all(1, "hello"))));
static assert(!is(typeof(reduce!(all, all)(tuple(1, 1), "hello"))));
}