diff options
author | Martin Liska <mliska@suse.cz> | 2020-02-17 13:20:06 +0100 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2020-02-17 13:20:06 +0100 |
commit | 1db97918101b2c22dfffa2242f13c7ea1b830558 (patch) | |
tree | 913391763a7bf277455cfa1f4172246e0d234486 /libphobos/src | |
parent | abe13e1847fb91d43f02b5579c4230214d4369f4 (diff) | |
download | gcc-1db97918101b2c22dfffa2242f13c7ea1b830558.zip gcc-1db97918101b2c22dfffa2242f13c7ea1b830558.tar.gz gcc-1db97918101b2c22dfffa2242f13c7ea1b830558.tar.bz2 |
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/src')
-rw-r--r-- | libphobos/src/std/algorithm/iteration.d | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libphobos/src/std/algorithm/iteration.d b/libphobos/src/std/algorithm/iteration.d index 7e57824..93cf1e7 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")))); } |