Skip to content

Commit 6ff3efd

Browse files
brocaaremilio
authored andcommitted
Add ,ignore to avoid that CI compiles these examples.
1 parent 96d8961 commit 6ff3efd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/src/faq.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ the struct. Instead, use the `Default` trait. You can either enable this when
7575
constructing the `Builder` using the `derive_default` method, or you can
7676
implement this per struct using:
7777
78-
```rust
78+
```rust,ignore
7979
impl Default for SRC_DATA {
8080
fn default() -> Self {
8181
unsafe { std::mem::zeroed() }
@@ -85,7 +85,7 @@ impl Default for SRC_DATA {
8585

8686
This makes it possible to initialize `SRC_DATA` by:
8787

88-
```rust
88+
```rust,ignore
8989
SRC_DATA {
9090
field_a: "foo",
9191
field_b: "bar",

0 commit comments

Comments
 (0)