diff options
| author | Connor Tsui <87130162+connortsui20@users.noreply.github.com> | 2025-09-11 13:08:44 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-11 13:08:44 -0400 |
| commit | 6354c51d2b6ddf61e791b1b89f395e2350f88817 (patch) | |
| tree | 2876ccbee628ee634659791cc912f228390db889 /library/std | |
| parent | 18d0dcbc8e61a0c9f7ffead9245b273fd26467a5 (diff) | |
| download | rust-6354c51d2b6ddf61e791b1b89f395e2350f88817.tar.gz rust-6354c51d2b6ddf61e791b1b89f395e2350f88817.zip | |
update doc comment
Co-authored-by: Ralf Jung <post@ralfj.de>
Diffstat (limited to 'library/std')
| -rw-r--r-- | library/std/tests/sync/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/tests/sync/lib.rs b/library/std/tests/sync/lib.rs index 6d25aa2cf3d..23112e10284 100644 --- a/library/std/tests/sync/lib.rs +++ b/library/std/tests/sync/lib.rs @@ -59,7 +59,7 @@ fn result_unwrap<T, E: std::fmt::Debug>(x: Result<T, E>) -> T { /// /// The test names will be prefiex with `poison_` or `nonpoison_`. /// -/// Important: `cfg_attr()` will not apply attributes to both tests. +/// Important: most attributes (except `cfg`) will not work properly! (They are only applied to the first test.) /// See <https://github.com/rust-lang/rust/pull/146433> for more information. macro_rules! nonpoison_and_poison_unwrap_test { ( |
