Skip to content

Commit 696b2a6

Browse files
author
Danilo Krummrich
committed
rust: io: mem: enable IoRequest doc-tests
When introduced, the IoRequest doc-tests did depend on infrastructure added in subsequent patches, hence they temporarily had to be disabled. Now that we have the corresponding platform device infrastructure, enable them. Link: https://lore.kernel.org/r/DBG39YMN2TX6.1VR4PEQSI8PSG@kernel.org Signed-off-by: Danilo Krummrich <dakr@kernel.org>
1 parent bc4f904 commit 696b2a6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rust/kernel/io/mem.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ impl<'a> IoRequest<'a> {
4343
/// The following example uses a [`platform::Device`] for illustration
4444
/// purposes.
4545
///
46-
/// ```ignore
46+
/// ```no_run
4747
/// use kernel::{bindings, c_str, platform, of, device::Core};
4848
/// struct SampleDriver;
4949
///
@@ -101,7 +101,7 @@ impl<'a> IoRequest<'a> {
101101
/// The following example uses a [`platform::Device`] for illustration
102102
/// purposes.
103103
///
104-
/// ```ignore
104+
/// ```no_run
105105
/// use kernel::{bindings, c_str, platform, of, device::Core};
106106
/// struct SampleDriver;
107107
///

0 commit comments

Comments
 (0)