mirror of
https://github.com/dlang/phobos.git
synced 2025-04-30 15:10:46 +03:00
Annotate std/xml.d to please dlang/dmd#12520
This commit is contained in:
parent
db6a3ac21c
commit
778495cd9a
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,7 @@ enum DecodeMode
|
||||||
* writefln(decode("a > b")); // writes "a > b"
|
* 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;
|
import std.algorithm.searching : startsWith;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue