aboutsummaryrefslogtreecommitdiffstats
path: root/rust/pin-init/examples/static_init.rs
diff options
context:
space:
mode:
authorMiguel Ojeda <[email protected]>2025-05-26 15:29:14 +0000
committerBenno Lossin <[email protected]>2025-06-11 19:13:57 +0000
commitf744a5b68eead2cc73691e91182522c7d800245e (patch)
tree94cada1ffd8d4183c876fb5ca86487c6068efb8c /rust/pin-init/examples/static_init.rs
parentrust: init: re-enable doctests (diff)
downloadkernel-f744a5b68eead2cc73691e91182522c7d800245e.tar.gz
kernel-f744a5b68eead2cc73691e91182522c7d800245e.zip
rust: init: remove doctest's `Error::from_errno` workaround
Since commit 5ed147473458 ("rust: error: make conversion functions public"), `Error::from_errno` is public. Thus remove the workaround added in commit a30e94c29673 ("rust: init: make doctests compilable/testable"). Suggested-by: Benno Lossin <[email protected]> Signed-off-by: Miguel Ojeda <[email protected]> Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Benno Lossin <[email protected]>
Diffstat (limited to 'rust/pin-init/examples/static_init.rs')
0 files changed, 0 insertions, 0 deletions