about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoshua Liebow-Feeser <joshlf@users.noreply.github.com>2022-10-05 10:07:26 -0700
committerGitHub <noreply@github.com>2022-10-05 10:07:26 -0700
commit9a3346bcdd23d299f9b45236cfda7d4de0ea640a (patch)
tree3fa4c92f2e78ddca340be07001fb647e7cfd0c18
parent8323d6abfca91c73217adf13d6313dbad7adfd69 (diff)
downloadrust-9a3346bcdd23d299f9b45236cfda7d4de0ea640a.tar.gz
rust-9a3346bcdd23d299f9b45236cfda7d4de0ea640a.zip
Add missing trailing `)]`
-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 c45eb66b0e9..e011a0945e2 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)]