From da662f96d4ca9164e26545480fae5124f57467e7 Mon Sep 17 00:00:00 2001 From: "@brodycj - C. Jonathan Brody" Date: Tue, 19 Nov 2024 18:22:02 -0500 Subject: [PATCH] update comment in an example --- portable-atomic-util/src/arc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portable-atomic-util/src/arc.rs b/portable-atomic-util/src/arc.rs index 6ad01a79..9b0207e2 100644 --- a/portable-atomic-util/src/arc.rs +++ b/portable-atomic-util/src/arc.rs @@ -1520,7 +1520,7 @@ impl Arc { /// let my_string = "Hello World".to_string(); /// print_if_string(Arc::from(Box::new(my_string) as Box)); /// print_if_string(Arc::from(Box::new(0i8) as Box)); - /// // or with --cfg portable_atomic_unstable_coerce_unsized: + /// // or with --cfg portable_atomic_unstable_coerce_unsized in RUSTFLAGS (only for Rust nightly): /// // print_if_string(Arc::new(my_string)); /// // print_if_string(Arc::new(0i8)); /// ```