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)); /// ```