Skip to content

Commit 8925cfb

Browse files
Skip second README doc test (requires first to have run and execution order isn't guaranteed)
1 parent 1d67298 commit 8925cfb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ for p in 0..4u32 {
7575

7676
* After creation, a B-field can optionally be loaded from a directory containing the produced `mmap` and related files with the `load` function. And once created or loaded, a B-field can be directly queried using the `get` function, which will either return `None`, `Indeterminate`, or `Some(BFieldValue)` (which is currently an alias for `Some(u32)` see [limitations](#⚠️-current-limitations-of-the-rust-bfield-implementation) below for more details):
7777

78-
```rust
78+
```rust no_run
7979
use bfield::BField;
8080

8181
// Load based on filename of the first array ".0.bfd"

src/bfield.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,4 +314,4 @@ mod tests {
314314

315315
#[doc = include_str!("../README.md")]
316316
#[cfg(doctest)]
317-
pub struct ReadmeDoctests;
317+
struct ReadmeDoctests;

0 commit comments

Comments
 (0)