Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Dirk Behme and committed by
Miguel Ojeda
1e4e2a84 45f6aed8

+1 -1
+1 -1
rust/kernel/fmt.rs
··· 6 6 7 7 pub use core::fmt::{Arguments, Debug, Error, Formatter, Result, Write}; 8 8 9 - /// Internal adapter used to route allow implementations of formatting traits for foreign types. 9 + /// Internal adapter used to route and allow implementations of formatting traits for foreign types. 10 10 /// 11 11 /// It is inserted automatically by the [`fmt!`] macro and is not meant to be used directly. 12 12 ///