summaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
authorDirk Behme <dirk.behme@de.bosch.com>2026-01-02 09:48:21 +0100
committerMiguel Ojeda <ojeda@kernel.org>2026-01-04 23:51:35 +0100
commit1e4e2a847f3c0bb3f34f3b20229be5c0214b80fa (patch)
treea75648fdc7d428bd447ad7ae3a9e047d80f58772 /rust
parent45f6aed8a835ee2bdd0a5d5ee626a91fe285014f (diff)
rust: fmt: Fix grammar in Adapter description
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>
Diffstat (limited to 'rust')
-rw-r--r--rust/kernel/fmt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/kernel/fmt.rs b/rust/kernel/fmt.rs
index 84d634201d90..1e8725eb44ed 100644
--- a/rust/kernel/fmt.rs
+++ b/rust/kernel/fmt.rs
@@ -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.
///