diff options
| author | John-John Tedro <udoprog@tedro.se> | 2024-01-28 16:12:09 +0100 |
|---|---|---|
| committer | John-John Tedro <udoprog@tedro.se> | 2024-01-28 16:12:09 +0100 |
| commit | 23c83fab2b16d79b248b1b5f2faf7b538afec9f6 (patch) | |
| tree | 2fab0f6722817880610d0d5e6b7e73f5a4209e06 | |
| parent | d4adb3af585daac5077c8852bc0b26bb661330c8 (diff) | |
| download | rust-23c83fab2b16d79b248b1b5f2faf7b538afec9f6.tar.gz rust-23c83fab2b16d79b248b1b5f2faf7b538afec9f6.zip | |
Tidy up
| -rw-r--r-- | library/alloc/src/rc.rs | 2 | ||||
| -rw-r--r-- | library/alloc/src/sync.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/library/alloc/src/rc.rs b/library/alloc/src/rc.rs index 0a959738b97..1d16095db1e 100644 --- a/library/alloc/src/rc.rs +++ b/library/alloc/src/rc.rs @@ -1182,7 +1182,7 @@ impl<T: ?Sized> Rc<T> { /// /// The raw pointer must have been previously returned by a call to /// [`Rc<U>::into_raw`][into_raw] with the following requirements: - /// + /// /// * If `U` is sized, it must have the same size and alignment as `T`. This /// is trivially true if `U` is `T`. /// * If `U` is unsized, its data pointer must have the same size and diff --git a/library/alloc/src/sync.rs b/library/alloc/src/sync.rs index 708f11edc44..0487dc5a858 100644 --- a/library/alloc/src/sync.rs +++ b/library/alloc/src/sync.rs @@ -1330,7 +1330,7 @@ impl<T: ?Sized> Arc<T> { /// /// The raw pointer must have been previously returned by a call to /// [`Arc<U>::into_raw`][into_raw] with the following requirements: - /// + /// /// * If `U` is sized, it must have the same size and alignment as `T`. This /// is trivially true if `U` is `T`. /// * If `U` is unsized, its data pointer must have the same size and |
