rust: init: make doctests compilable/testable
Rust documentation tests are going to be build/run-tested with the KUnit integration added in a future patch, thus update them to make them compilable/testable so that we may start enforcing it. Reviewed-by:Martin Rodriguez Reboredo <yakoyoku@gmail.com> Reviewed-by:
Vincenzo Palazzo <vincenzopalazzodev@gmail.com> Reviewed-by:
David Gow <davidgow@google.com> Reviewed-by:
Benno Lossin <benno.lossin@proton.me> Reviewed-by:
Alice Ryhl <aliceryhl@google.com> Reviewed-by:
Björn Roy Baron <bjorn3_gh@protonmail.com> Signed-off-by:
Miguel Ojeda <ojeda@kernel.org> Signed-off-by:
Shuah Khan <skhan@linuxfoundation.org>
Showing
Please register or sign in to comment