Skip to content

Commit

Permalink
Fix usage of undefined function "remove"
Browse files Browse the repository at this point in the history
Changelog: fixed
  • Loading branch information
jinyus authored and yorickpeterse committed Nov 16, 2023
1 parent 8f5ad1e commit 9e4f82b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/getting-started/error-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ class async Main {
file.read_all(bytes).expect('failed to read the file')
STDOUT.new.write_bytes(bytes).expect('failed to write to STDOUT')
let _ = remove(file.path)
let _ = file.path.remove_file
}
}
```
Expand Down

0 comments on commit 9e4f82b

Please sign in to comment.