about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoshua Liebow-Feeser <joshlf@users.noreply.github.com>2022-10-05 09:41:57 -0700
committerGitHub <noreply@github.com>2022-10-05 09:41:57 -0700
commit8323d6abfca91c73217adf13d6313dbad7adfd69 (patch)
tree9544c883093100ce577ed601512b59e8b420718e
parent7d4e9b3637320be8d4f2efe350cd71b9312e9d83 (diff)
downloadrust-8323d6abfca91c73217adf13d6313dbad7adfd69.tar.gz
rust-8323d6abfca91c73217adf13d6313dbad7adfd69.zip
Fix typo (missing `>`)
-rw-r--r--library/core/src/num/nonzero.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/num/nonzero.rs b/library/core/src/num/nonzero.rs
index df438f88cee..c45eb66b0e9 100644
--- a/library/core/src/num/nonzero.rs
+++ b/library/core/src/num/nonzero.rs
@@ -39,7 +39,7 @@ macro_rules! nonzero_integers {
             ///
             #[doc = concat!("`", stringify!($Ty), "` is guaranteed to have the same layout and bit validity as `", stringify!($Int), "`")]
             /// with the exception that `0` is not a valid instance.
-            #[doc = concat!("`Option<", stringify!($Ty), "` is guaranteed to be compatible with `", stringify!($Int), "`,"
+            #[doc = concat!("`Option<", stringify!($Ty), ">` is guaranteed to be compatible with `", stringify!($Int), "`,"
             /// including in FFI.
             #[$stability]
             #[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]