rust: init: update expanded macro explanation
authorBenno Lossin <benno.lossin@proton.me>
Mon, 14 Aug 2023 08:47:54 +0000 (08:47 +0000)
committerMiguel Ojeda <ojeda@kernel.org>
Mon, 21 Aug 2023 12:31:49 +0000 (14:31 +0200)
commit4af84c6a85c63bec24611e46bb3de2c0a6602a51
treec6633630be251aebd54733eab8d9cc6c1f8b1655
parent7f8977a7fe6df9cdfe489c641058ca5534ec73eb
rust: init: update expanded macro explanation

The previous patches changed the internals of the macros resulting in
the example expanded code being outdated. This patch updates the example
and only changes documentation.

Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
Signed-off-by: Benno Lossin <benno.lossin@proton.me>
Link: https://lore.kernel.org/r/20230814084602.25699-14-benno.lossin@proton.me
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/kernel/init/macros.rs