Skip to content

Commit bdebea5

Browse files
committed
Fix tests on nightly.
1 parent a203290 commit bdebea5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ch15-05-interior-mutability.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ implement a mock object to do just that, but the borrow checker won’t allow it
195195

196196
<span class="filename">Filename: src/lib.rs</span>
197197

198-
```rust,does_not_compile
198+
```rust,ignore
199199
#[cfg(test)]
200200
mod tests {
201201
use super::*;
@@ -274,7 +274,7 @@ shows what that looks like:
274274

275275
<span class="filename">Filename: src/lib.rs</span>
276276

277-
```rust
277+
```rust,ignore
278278
#[cfg(test)]
279279
mod tests {
280280
use super::*;

0 commit comments

Comments
 (0)