We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc02b1e commit e8b7cc3Copy full SHA for e8b7cc3
crates/rc-box/src/lib.rs
@@ -639,6 +639,7 @@ then the data will be pinned in memory and unable to be moved."),
639
#[cfg(feature = "unsize")]
640
doc_comment! {
641
concat!("Unsizes a pointer using the `unsize` crate.
642
+
643
# Usage
644
645
```
@@ -653,7 +654,7 @@ let value = (*unique)();
653
654
assert_eq!(value, 42);
655
656
-Another common usage would be to create an `dyn Any`.
657
+Another common usage would be to create a `dyn Any`.
658
659
fn print_if_string(value: ", stringify!($RcBox), r#"<dyn Any>) {
660
if let Ok(string) = value.downcast::<String>() {
0 commit comments