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- authored Jun 27, 2024
1 parent a1f94d1 commit 3c1a098
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 3c1a098

Please sign in to comment.