Skip to content

Commit

Permalink
update comment in an example
Browse files Browse the repository at this point in the history
  • Loading branch information
brodycj committed Nov 19, 2024
1 parent 9fd907c commit da662f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion portable-atomic-util/src/arc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1520,7 +1520,7 @@ impl Arc<dyn Any + Send + Sync> {
/// let my_string = "Hello World".to_string();
/// print_if_string(Arc::from(Box::new(my_string) as Box<dyn Any + Send + Sync>));
/// print_if_string(Arc::from(Box::new(0i8) as Box<dyn Any + Send + Sync>));
/// // 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));
/// ```
Expand Down

0 comments on commit da662f9

Please sign in to comment.