Skip to content

Commit

Permalink
Reference std.digest.fromHexString in doc of std.conv.hexString
Browse files Browse the repository at this point in the history
  • Loading branch information
0xEAB authored and dlang-bot committed Nov 4, 2024
1 parent 9aa794c commit 9771a24
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions std/conv.d
Original file line number Diff line number Diff line change
Expand Up @@ -5611,6 +5611,14 @@ Params:
Returns:
a `string`, a `wstring` or a `dstring`, according to the type of hexData.
See_Also:
Use $(REF fromHexString, std, digest) for run time conversions.
Note, these functions are not drop-in replacements and have different
input requirements.
This template inherits its data syntax from builtin
$(LINK2 $(ROOT_DIR)spec/lex.html#hex_string, hex strings).
See $(REF fromHexString, std, digest) for its own respective requirements.
*/
template hexString(string hexData)
if (hexData.isHexLiteral)
Expand Down

0 comments on commit 9771a24

Please sign in to comment.