]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
rust: fmt: Fix grammar in Adapter description
authorDirk Behme <dirk.behme@de.bosch.com>
Fri, 2 Jan 2026 08:48:21 +0000 (09:48 +0100)
committerMiguel Ojeda <ojeda@kernel.org>
Sun, 4 Jan 2026 22:51:35 +0000 (23:51 +0100)
Add a missing `and` in the description of the `Adapter`.

Fixes: c5cf01ba8dfe ("rust: support formatting of foreign types")
Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
Acked-by: Tamir Duberstein <tamird@gmail.com>
Link: https://patch.msgid.link/20260102084821.1077864-1-dirk.behme@de.bosch.com
[ Reworded for typo. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/kernel/fmt.rs

index 84d634201d90a7e5e20c45277961ee309bede9b1..1e8725eb44ed7d0277e66373cd9310c95fe0174b 100644 (file)
@@ -6,7 +6,7 @@
 
 pub use core::fmt::{Arguments, Debug, Error, Formatter, Result, Write};
 
-/// Internal adapter used to route allow implementations of formatting traits for foreign types.
+/// Internal adapter used to route and allow implementations of formatting traits for foreign types.
 ///
 /// It is inserted automatically by the [`fmt!`] macro and is not meant to be used directly.
 ///