From 53fa6fe56fda45fc9ed0c3ae2a847e2745611f05 Mon Sep 17 00:00:00 2001 From: Patrik Kormosi Date: Sun, 9 Apr 2023 10:38:35 +0200 Subject: [PATCH 1/2] Fix typo in todo! macro docstring --- library/core/src/macros/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/macros/mod.rs b/library/core/src/macros/mod.rs index 529f62f4d6cd7..c39a269c1de4e 100644 --- a/library/core/src/macros/mod.rs +++ b/library/core/src/macros/mod.rs @@ -713,7 +713,7 @@ macro_rules! unimplemented { /// Indicates unfinished code. /// /// This can be useful if you are prototyping and are just looking to have your -/// code typecheck. +/// code typechecked. /// /// The difference between [`unimplemented!`] and `todo!` is that while `todo!` conveys /// an intent of implementing the functionality later and the message is "not yet From 4e84d695f35bc5708ded1d191f22ba961730cac7 Mon Sep 17 00:00:00 2001 From: Patrik Kormosi Date: Tue, 11 Apr 2023 16:29:48 +0200 Subject: [PATCH 2/2] Reword the docstring in todo! macro definition --- library/core/src/macros/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/core/src/macros/mod.rs b/library/core/src/macros/mod.rs index c39a269c1de4e..7c93c93b4a019 100644 --- a/library/core/src/macros/mod.rs +++ b/library/core/src/macros/mod.rs @@ -712,8 +712,8 @@ macro_rules! unimplemented { /// Indicates unfinished code. /// -/// This can be useful if you are prototyping and are just looking to have your -/// code typechecked. +/// This can be useful if you are prototyping and just +/// want a placeholder to let your code pass type analysis. /// /// The difference between [`unimplemented!`] and `todo!` is that while `todo!` conveys /// an intent of implementing the functionality later and the message is "not yet