From f89f5245dd61b125e61f2147beccbbdfc18f58b2 Mon Sep 17 00:00:00 2001 From: Kristof Mattei <864376+kristof-mattei@users.noreply.github.com> Date: Sat, 27 Dec 2025 14:39:22 -0700 Subject: [PATCH] chore: fix comment to link to actual method --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 8477b8a..7296585 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -98,7 +98,7 @@ impl NonEmptyString { ) -> Result<(), std::collections::TryReserveError>; /// Is forwarded to the inner String. - /// See std::string::String::[`(&`] + /// See [`String::shrink_to_fit`] pub fn shrink_to_fit(&mut self); /// Is forwarded to the inner String.