Skip to content

Commit b03166e

Browse files
ehusstbu-
andcommitted
Add TODO comment added by rustc.
Co-authored-by: Tobias Bucher <[email protected]>
1 parent 455dcc6 commit b03166e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rust-2024/newly-unsafe-functions.md

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ to be:
6262

6363
```rust
6464
fn main() {
65+
// TODO: Audit that the environment access only happens in single-threaded code.
6566
unsafe { std::env::set_var("FOO", "123") };
6667
}
6768
```

0 commit comments

Comments
 (0)