Skip to content

Commit 6354c51

Browse files
update doc comment
Co-authored-by: Ralf Jung <[email protected]>
1 parent 18d0dcb commit 6354c51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/tests/sync/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ fn result_unwrap<T, E: std::fmt::Debug>(x: Result<T, E>) -> T {
5959
///
6060
/// The test names will be prefiex with `poison_` or `nonpoison_`.
6161
///
62-
/// Important: `cfg_attr()` will not apply attributes to both tests.
62+
/// Important: most attributes (except `cfg`) will not work properly! (They are only applied to the first test.)
6363
/// See <https://github.com/rust-lang/rust/pull/146433> for more information.
6464
macro_rules! nonpoison_and_poison_unwrap_test {
6565
(

0 commit comments

Comments
 (0)