Skip to content

Commit 4f2f7fd

Browse files
Rollup merge of rust-lang#110104 - kormosi:todo_typo, r=cuviper
Reword the docstring in todo! macro definition, fixing a typo
2 parents e6e46ba + 4e84d69 commit 4f2f7fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/macros/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -712,8 +712,8 @@ macro_rules! unimplemented {
712712

713713
/// Indicates unfinished code.
714714
///
715-
/// This can be useful if you are prototyping and are just looking to have your
716-
/// code typecheck.
715+
/// This can be useful if you are prototyping and just
716+
/// want a placeholder to let your code pass type analysis.
717717
///
718718
/// The difference between [`unimplemented!`] and `todo!` is that while `todo!` conveys
719719
/// an intent of implementing the functionality later and the message is "not yet

0 commit comments

Comments
 (0)