Skip to content

Commit 3c1a098

Browse files
ehusstbu-
andauthored
Add TODO comment added by rustc.
Co-authored-by: Tobias Bucher <[email protected]>
1 parent a1f94d1 commit 3c1a098

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)