| author | |
| committer | |
| log | 3b0fe534bc36e992795a8176511b4b093270eff4 |
| tree | d6c1c2b44f95a00f43dc841d7a64c2b53a6e52a5 |
| parent | 8ab5313043dad325488d4491a30642696dc7bbcf |
1 files changed, 1 insertions(+), 1 deletions(-)
std/os/index.zig+1-1| ... | ... | @@ -504,7 +504,7 @@ pub fn getEnvVarOwned(allocator: &mem.Allocator, key: []const u8) -> %[]u8 { |
| 504 | 504 | } |
| 505 | 505 | } else { |
| 506 | 506 | const result = getEnvPosix(key) ?? return error.EnvironmentVariableNotFound; |
| 507 | return mem.dupe(u8, allocator, result); | |
| 507 | return mem.dupe(allocator, u8, result); | |
| 508 | 508 | } |
| 509 | 509 | } |
| 510 | 510 |