Skip to content

Commit 022bff2

Browse files
Rollup merge of #156479 - ast-ral:dev-missing-space-decrement-strong-count, r=camelid
fix missing space in Rc::decrement_strong_count docs
2 parents e383845 + ed2f960 commit 022bff2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/alloc/src/rc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1581,7 +1581,7 @@ impl<T: ?Sized> Rc<T> {
15811581
///
15821582
/// # Safety
15831583
///
1584-
/// The pointer must have been obtained through `Rc::into_raw`and must satisfy the
1584+
/// The pointer must have been obtained through `Rc::into_raw` and must satisfy the
15851585
/// same layout requirements specified in [`Rc::from_raw_in`][from_raw_in].
15861586
/// The associated `Rc` instance must be valid (i.e. the strong count must be at
15871587
/// least 1) when invoking this method, and `ptr` must point to a block of memory

0 commit comments

Comments
 (0)