Mark std.stdio.File.seek as @trusted

This commit is contained in:
Tomoya Tanjo 2014-05-30 12:07:16 +09:00
parent 0bfc7b283c
commit f6eb0ad97f

View file

@ -791,7 +791,7 @@ for the file handle.
Throws: $(D Exception) if the file is not opened.
$(D ErrnoException) if the call to $(D fseek) fails.
*/
void seek(long offset, int origin = SEEK_SET)
void seek(long offset, int origin = SEEK_SET) @trusted
{
import std.exception : enforce, errnoEnforce;
import std.conv : to, text;