Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(utf): documentation of byUTF is wrong about thrown exceptions #8464

Merged
merged 2 commits into from
May 19, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
chore(utf): documentation of byUTF is wrong about thrown exceptions
Signed-off-by: Luís Ferreira <contact@lsferreira.net>
  • Loading branch information
ljmf00 committed May 18, 2022
commit 0fba643215a4f6712d2fa455376ca93ade13c199
2 changes: 1 addition & 1 deletion std/utf.d
Original file line number Diff line number Diff line change
Expand Up @@ -4275,7 +4275,7 @@ private int impureVariable;
* UseReplacementDchar.no means throw `UTFException` for invalid UTF
*
* Throws:
* `UTFException` if invalid UTF sequence and `useReplacementDchar` is set to `UseReplacementDchar.yes`
* `UTFException` if invalid UTF sequence and `useReplacementDchar` is set to `UseReplacementDchar.no`
*
* GC:
* Does not use GC if `useReplacementDchar` is set to `UseReplacementDchar.no`
dkorpel marked this conversation as resolved.
Show resolved Hide resolved
Expand Down