From 801b502ef119ab00f3317af4980c85ef5a846f94 Mon Sep 17 00:00:00 2001 From: Daniel Henry-Mantilla Date: Thu, 20 Jul 2023 21:07:11 +0200 Subject: [PATCH 1/5] Fix the "See for more info" docs --- src/manually_drop.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/manually_drop.rs b/src/manually_drop.rs index 2a269dd..7ec0939 100644 --- a/src/manually_drop.rs +++ b/src/manually_drop.rs @@ -122,6 +122,7 @@ impl DerefMut for ManuallyDrop { } impl Default for ManuallyDrop { + /// See [`::core::mem::ManuallyDrop::default()`] for more info. #[inline] fn default() -> Self { Self::new(T::default()) @@ -135,34 +136,28 @@ impl Clone for ManuallyDrop { } JustDerefTM! { - /// See [`::core::mem::ManuallyDrop::clone_from()`] for more info. fn clone_from(self: &mut Self, source: &Self); } } JustDerefTM! { impl Debug for ManuallyDrop { - /// See [`::core::mem::ManuallyDrop::fmt()`] for more info. fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result; } impl Hash for ManuallyDrop { - /// See [`::core::mem::ManuallyDrop::hash()`] for more info. fn hash<__H: hash::Hasher>(self: &Self, state: &mut __H); } impl Ord for ManuallyDrop { - /// See [`::core::mem::ManuallyDrop::cmp()`] for more info. fn cmp(self: &Self, other: &Self) -> Ordering; } impl PartialOrd for ManuallyDrop { - /// See [`::core::mem::ManuallyDrop::partial_cmp()`] for more info. fn partial_cmp(self: &Self, other: &Self) -> Option; } impl PartialEq for ManuallyDrop { - /// See [`::core::mem::ManuallyDrop::eq()`] for more info. fn eq(self: &Self, other: &Self) -> bool; } From 701cd42a00d6ca76b6eebce59985547772eb530e Mon Sep 17 00:00:00 2001 From: jofas Date: Fri, 21 Jul 2023 11:00:51 +0200 Subject: [PATCH 2/5] rustdoc unable to render link in headline properly --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 37f40e9..a0b1133 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ This crates offers two types, `ManuallyDrop`, and `MaybeDangling`, which d ## References - - ### The RFC that shall eventually and ultimately supersede this very crate: + - **The RFC that shall eventually and ultimately supersede this very crate: ** - The `miri` PR implementing the check against this: From 5fa7ec44f9048a2a98b85abd3a83619c629a7e3a Mon Sep 17 00:00:00 2001 From: Daniel Henry-Mantilla Date: Mon, 31 Jul 2023 15:14:23 +0200 Subject: [PATCH 3/5] Remove references to `I` now that we are multiple contributors --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a0b1133..0349bfe 100644 --- a/README.md +++ b/README.md @@ -36,4 +36,4 @@ This crates offers two types, `ManuallyDrop`, and `MaybeDangling`, which d - The soundness problem of `::yoke` stemming from not using this: - - [An URLO thread on the topic, and my post exposing the intention to write this very crate](https://users.rust-lang.org/t/unsafe-code-review-semi-owning-weak-rwlock-t-guard/95706/15?u=yandros) + - [An URLO thread on the topic, and a post exposing the intention to write this very crate](https://users.rust-lang.org/t/unsafe-code-review-semi-owning-weak-rwlock-t-guard/95706/15?u=yandros) From 83478d4d7c703d79cad41cc5e266b6fefd4704d0 Mon Sep 17 00:00:00 2001 From: Daniel Henry-Mantilla Date: Wed, 6 Dec 2023 12:27:31 +0100 Subject: [PATCH 4/5] Version 0.1.1 release candidate --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 13c2ea1..4d5dcba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,4 +4,4 @@ version = 3 [[package]] name = "maybe-dangling" -version = "0.1.0" +version = "0.1.1-rc1" diff --git a/Cargo.toml b/Cargo.toml index ee3a0a3..3264a4c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ name = "maybe-dangling" authors = [ "Daniel Henry-Mantilla ", ] -version = "0.1.0" # Keep in sync +version = "0.1.1-rc1" # Keep in sync edition = "2021" rust-version = "1.65.0" From a8431b1a66e56d3eb1f9e25749dd4f93bf1f0934 Mon Sep 17 00:00:00 2001 From: Daniel Henry-Mantilla Date: Wed, 6 Dec 2023 12:28:47 +0100 Subject: [PATCH 5/5] Version 0.1.1 release --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4d5dcba..cb608eb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,4 +4,4 @@ version = 3 [[package]] name = "maybe-dangling" -version = "0.1.1-rc1" +version = "0.1.1" diff --git a/Cargo.toml b/Cargo.toml index 3264a4c..6350227 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ name = "maybe-dangling" authors = [ "Daniel Henry-Mantilla ", ] -version = "0.1.1-rc1" # Keep in sync +version = "0.1.1" # Keep in sync edition = "2021" rust-version = "1.65.0"