diff options
| author | Miguel Ojeda <[email protected]> | 2025-05-26 15:29:14 +0000 |
|---|---|---|
| committer | Benno Lossin <[email protected]> | 2025-06-11 19:13:57 +0000 |
| commit | f744a5b68eead2cc73691e91182522c7d800245e (patch) | |
| tree | 94cada1ffd8d4183c876fb5ca86487c6068efb8c /rust/pin-init/examples/static_init.rs | |
| parent | rust: init: re-enable doctests (diff) | |
| download | kernel-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
