Skip to content

Commit

Permalink
Fix tests on nightly.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed May 13, 2019
1 parent a203290 commit bdebea5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ch15-05-interior-mutability.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ implement a mock object to do just that, but the borrow checker won’t allow it

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

```rust,does_not_compile
```rust,ignore
#[cfg(test)]
mod tests {
use super::*;
Expand Down Expand Up @@ -274,7 +274,7 @@ shows what that looks like:

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

```rust
```rust,ignore
#[cfg(test)]
mod tests {
use super::*;
Expand Down

0 comments on commit bdebea5

Please sign in to comment.