Skip to content

Commit

Permalink
Fix trustedRef
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-tan committed Jul 4, 2014
1 parent 65ef3b2 commit 97259e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/file.d
Expand Up @@ -179,7 +179,7 @@ Throws: $(D FileException) on error.
*/
void[] read(in char[] name, size_t upTo = size_t.max) @safe
{
static trustedRef(ref stat_t buf) @trusted
static trustedRef(T)(ref T buf) @trusted
{
return &buf;
}
Expand Down

0 comments on commit 97259e8

Please sign in to comment.