Skip to content

Commit ab9de95

Browse files
committed
Merge tag 'rust-7.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux
Pull rust addendum from Miguel Ojeda: "A second, tiny pull request later in the merge window with a small patch to simplify cross-tree development: 'kernel' crate: - 'prelude' module: add 'zerocopy{,_derive}::IntoBytes'. This will simplify using 'zerocopy' in several trees next cycle" * tag 'rust-7.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux: rust: prelude: add `zerocopy{,_derive}::IntoBytes`
2 parents dcebfd2 + 43a3931 commit ab9de95

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

rust/kernel/prelude.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,16 @@ pub use pin_init::{
6161
};
6262

6363
#[doc(no_inline)]
64-
pub use zerocopy::FromBytes;
64+
pub use zerocopy::{
65+
FromBytes,
66+
IntoBytes, //
67+
};
6568

6669
#[doc(no_inline)]
67-
pub use zerocopy_derive::FromBytes;
70+
pub use zerocopy_derive::{
71+
FromBytes,
72+
IntoBytes, //
73+
};
6874

6975
#[doc(no_inline)]
7076
pub use super::{

0 commit comments

Comments
 (0)