mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 06:00:35 +03:00
Add public import for KeepTerminator
This commit creates a public import for std.string.KeepTerminator. This way if you use e.g. byLine() you do not have to import it yourself.
This commit is contained in:
parent
9f5c180b66
commit
ccfc8b62ce
1 changed files with 1 additions and 2 deletions
|
@ -15,7 +15,7 @@ Authors: $(WEB digitalmars.com, Walter Bright),
|
|||
*/
|
||||
module std.stdio;
|
||||
|
||||
public import core.stdc.stdio;
|
||||
public import core.stdc.stdio, std.string : KeepTerminator;
|
||||
static import std.c.stdio;
|
||||
import std.stdiobase;
|
||||
import core.stdc.errno, core.stdc.stddef, core.stdc.stdlib, core.memory,
|
||||
|
@ -942,7 +942,6 @@ Returns the file number corresponding to this object.
|
|||
|
||||
/**
|
||||
Range that reads one line at a time. */
|
||||
alias std.string.KeepTerminator KeepTerminator;
|
||||
/// ditto
|
||||
struct ByLine(Char, Terminator)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue