diff --git a/src/ec/suite_b/private_key.rs b/src/ec/suite_b/private_key.rs
index 0d9544fa9..003c297dc 100644
--- a/src/ec/suite_b/private_key.rs
+++ b/src/ec/suite_b/private_key.rs
@@ -44,8 +44,8 @@ pub fn generate_private_scalar_bytes(
     // [NSA Suite B Implementer's Guide to NIST SP 800-56A] Appendix B.2,
     // "Key Pair Generation by Testing Candidates".
     //
-    // [NSA Suite B Implementer's Guide to ECDSA]: doc/ecdsa.pdf.
-    // [NSA Suite B Implementer's Guide to NIST SP 800-56A]: doc/ecdh.pdf.
+    // [NSA Suite B Implementer's Guide to ECDSA]: doc/ecdsa.pdf
+    // [NSA Suite B Implementer's Guide to NIST SP 800-56A]: doc/ecdh.pdf
 
     // TODO: The NSA guide also suggests, in appendix B.1, another mechanism
     // that would avoid the need to use `rng.fill()` more than once. It works
@@ -116,8 +116,8 @@ pub fn scalar_from_big_endian_bytes(
     // [NSA Suite B Implementer's Guide to NIST SP 800-56A] Appendix B.2,
     // "Key Pair Generation by Testing Candidates".
     //
-    // [NSA Suite B Implementer's Guide to ECDSA]: doc/ecdsa.pdf.
-    // [NSA Suite B Implementer's Guide to NIST SP 800-56A]: doc/ecdh.pdf.
+    // [NSA Suite B Implementer's Guide to ECDSA]: doc/ecdsa.pdf
+    // [NSA Suite B Implementer's Guide to NIST SP 800-56A]: doc/ecdh.pdf
     //
     // Steps 5, 6, and 7.
     //
diff --git a/src/pkcs8.rs b/src/pkcs8.rs
index 5d1a49e71..63787df09 100644
--- a/src/pkcs8.rs
+++ b/src/pkcs8.rs
@@ -14,7 +14,7 @@
 
 //! PKCS#8 is specified in [RFC 5958].
 //!
-//! [RFC 5958]: https://tools.ietf.org/html/rfc5958.
+//! [RFC 5958]: https://tools.ietf.org/html/rfc5958
 
 use crate::{ec, error, io::der};
 
@@ -72,7 +72,7 @@ impl Template {
 ///
 /// PKCS#8 is specified in [RFC 5958].
 ///
-/// [RFC 5958]: https://tools.ietf.org/html/rfc5958.
+/// [RFC 5958]: https://tools.ietf.org/html/rfc5958
 pub(crate) fn unwrap_key<'a>(
     template: &Template,
     version: Version,
@@ -90,7 +90,7 @@ pub(crate) fn unwrap_key<'a>(
 ///
 /// PKCS#8 is specified in [RFC 5958].
 ///
-/// [RFC 5958]: https://tools.ietf.org/html/rfc5958.
+/// [RFC 5958]: https://tools.ietf.org/html/rfc5958
 pub(crate) fn unwrap_key_<'a>(
     alg_id: untrusted::Input,
     version: Version,