Skip to content

Commit

Permalink
Properly mark lines constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
schveiguy committed Jul 29, 2024
1 parent 9ffe71f commit 23948b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/stdio.d
Original file line number Diff line number Diff line change
Expand Up @@ -4607,7 +4607,7 @@ struct lines
f = File to read lines from.
terminator = Line separator (`'\n'` by default).
*/
this(File f, dchar terminator = '\n')
this(File f, dchar terminator = '\n') @safe @nogc pure
{
this.f = f;
this.terminator = terminator;
Expand Down

0 comments on commit 23948b4

Please sign in to comment.