Annotate std/xml.d to please dlang/dmd#12520

This commit is contained in:
nordlow 2021-05-17 12:31:17 +02:00 committed by The Dlang Bot
parent db6a3ac21c
commit 778495cd9a

View file

@ -433,7 +433,7 @@ enum DecodeMode
* writefln(decode("a > b")); // writes "a > b"
* --------------
*/
string decode(string s, DecodeMode mode=DecodeMode.LOOSE) @safe pure
string decode(return scope string s, DecodeMode mode=DecodeMode.LOOSE) @safe pure
{
import std.algorithm.searching : startsWith;