Skip to content

Commit 45d057b

Browse files
committed
rust: init: remove macros.rs
Since all initialization macros have been rewritten using `syn` and `quote`, the `macros` module does no longer contain any code. The only thing that is left is documentation that explains the expansion of the initialization macros. This can now be directly observed in the source code for the macros (found under `rust/macros`). Since the proc macro code is much more readable than the declarative macro style. Thus remove the expanded code. Signed-off-by: Benno Lossin <[email protected]>
1 parent a8dae43 commit 45d057b

File tree

2 files changed

+0
-501
lines changed

2 files changed

+0
-501
lines changed

rust/kernel/init.rs

-2
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,6 @@ use core::{
228228

229229
#[doc(hidden)]
230230
pub mod __internal;
231-
#[doc(hidden)]
232-
pub mod macros;
233231

234232
/// Initialize and pin a type directly on the stack.
235233
///

0 commit comments

Comments
 (0)