From c85a9df31a0d530b1847f5f46d1388fa39332b41 Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Tue, 20 Feb 2024 01:44:27 -0500 Subject: [PATCH] fix doc link --- library/core/src/fmt/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/fmt/mod.rs b/library/core/src/fmt/mod.rs index 17e58eaac8846..444d4fee92d71 100644 --- a/library/core/src/fmt/mod.rs +++ b/library/core/src/fmt/mod.rs @@ -1108,7 +1108,7 @@ pub fn write(output: &mut dyn Write, args: Arguments<'_>) -> Result { if let Some(s) = args.as_str() { output.write_str(s) } else { write_internal(output, args) } } -/// Actual implementation of the [`write`], but without the simple string optimization. +/// Actual implementation of the [`write()`], but without the simple string optimization. fn write_internal(output: &mut dyn Write, args: Arguments<'_>) -> Result { let mut formatter = Formatter::new(output); let mut idx = 0;