Skip to content

Commit

Permalink
Add TODO comment added by rustc.
Browse files Browse the repository at this point in the history
Co-authored-by: Tobias Bucher <tobiasbucher5991@gmail.com>
  • Loading branch information
ehuss and tbu- committed Aug 15, 2024
1 parent 455dcc6 commit b03166e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rust-2024/newly-unsafe-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ to be:

```rust
fn main() {
// TODO: Audit that the environment access only happens in single-threaded code.
unsafe { std::env::set_var("FOO", "123") };
}
```
Expand Down

0 comments on commit b03166e

Please sign in to comment.