Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion std/digest/package.d
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ ref T[N] asArray(size_t N, T)(ref T[] source, string errorMsg = "")
* Fill in a preallocated buffer with the ASCII hex representation from a byte buffer
*/
private void toHexStringImpl(Order order, LetterCase letterCase, BB, HB)
(const ref BB byteBuffer, ref HB hexBuffer){
(scope const ref BB byteBuffer, ref HB hexBuffer){
static if (letterCase == LetterCase.upper)
{
import std.ascii : hexDigits = hexDigits;
Expand Down
2 changes: 1 addition & 1 deletion std/string.d
Original file line number Diff line number Diff line change
Expand Up @@ -5425,7 +5425,7 @@ if (isSomeChar!C1 && isSomeString!S && isSomeChar!C2 && isOutputRange!(Buffer, S
}

private void translateImpl(C1, T, C2, Buffer)(const(C1)[] str,
T transTable,
scope T transTable,
const(C2)[] toRemove,
Buffer buffer)
{
Expand Down