From 23c83fab2b16d79b248b1b5f2faf7b538afec9f6 Mon Sep 17 00:00:00 2001 From: John-John Tedro Date: Sun, 28 Jan 2024 16:12:09 +0100 Subject: Tidy up --- library/alloc/src/rc.rs | 2 +- library/alloc/src/sync.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'library/alloc') 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 Rc { /// /// The raw pointer must have been previously returned by a call to /// [`Rc::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 Arc { /// /// The raw pointer must have been previously returned by a call to /// [`Arc::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 -- cgit 1.4.1-3-g733a5