Skip to content

Commit e8b7cc3

Browse files
committed
Resolve review nits in documentation
1 parent bc02b1e commit e8b7cc3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/rc-box/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,7 @@ then the data will be pinned in memory and unable to be moved."),
639639
#[cfg(feature = "unsize")]
640640
doc_comment! {
641641
concat!("Unsizes a pointer using the `unsize` crate.
642+
642643
# Usage
643644
644645
```
@@ -653,7 +654,7 @@ let value = (*unique)();
653654
assert_eq!(value, 42);
654655
```
655656
656-
Another common usage would be to create an `dyn Any`.
657+
Another common usage would be to create a `dyn Any`.
657658
658659
fn print_if_string(value: ", stringify!($RcBox), r#"<dyn Any>) {
659660
if let Ok(string) = value.downcast::<String>() {

0 commit comments

Comments
 (0)