Skip to content

Commit bb6ed6a

Browse files
dkorpeldlang-bot
authored andcommitted
Fix issue 22503 - Invalid changelog entry for isValidCodePoint
1 parent 266628f commit bb6ed6a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

changelog/2.098.0.dd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ $(LI $(RELATIVE_LINK2 improve_posix_imports,Improve POSIX imports))
3737

3838
$(BUGSTITLE_TEXT_HEADER Library changes,
3939

40-
$(LI $(RELATIVE_LINK2 add_isValidCharacter,New function `isValidCharacter` in `std.utf`))
40+
$(LI $(RELATIVE_LINK2 add_isValidCharacter,New function `isValidCodepoint` in `std.utf`))
4141

4242
)
4343

@@ -1067,19 +1067,19 @@ The `O_CLOEXEC` symbol was added to `core/sys/posix/fcntl.d`.
10671067

10681068
$(BUGSTITLE_TEXT_BODY Library changes,
10691069

1070-
$(LI $(LNAME2 add_isValidCharacter,New function `isValidCharacter` in `std.utf`)
1070+
$(LI $(LNAME2 add_isValidCharacter,New function `isValidCodepoint` in `std.utf`)
10711071
$(CHANGELOG_SOURCE_FILE phobos, changelog/add_isValidCharacter.dd)
10721072
$(P
1073-
A new function `isValidCharacter` has been added to `std.utf`. It can
1073+
A new function `isValidCodepoint` has been added to `std.utf`. It can
10741074
be used to check if a single character forms a valid code point. For
10751075
example the `char` `0x80` is not a valid code point, because it can
10761076
only be used in trailing characters of UTF8 sequences, whereas the
10771077
wchar `ä` is a valid character:
10781078
)
10791079

10801080
```
1081-
assert(!isValidCharacter(cast(char) 0x80));
1082-
assert(isValidCharacter('ä'));
1081+
assert(!isValidCodepoint(cast(char) 0x80));
1082+
assert(isValidCodepoint('ä'));
10831083
```
10841084
)
10851085

0 commit comments

Comments
 (0)