From bdebea5b8363676990283e0163a4ae966f769325 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Mon, 13 May 2019 10:18:53 -0700 Subject: [PATCH] Fix tests on nightly. --- src/ch15-05-interior-mutability.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ch15-05-interior-mutability.md b/src/ch15-05-interior-mutability.md index c730d02bf3..e736167dcb 100644 --- a/src/ch15-05-interior-mutability.md +++ b/src/ch15-05-interior-mutability.md @@ -195,7 +195,7 @@ implement a mock object to do just that, but the borrow checker won’t allow it Filename: src/lib.rs -```rust,does_not_compile +```rust,ignore #[cfg(test)] mod tests { use super::*; @@ -274,7 +274,7 @@ shows what that looks like: Filename: src/lib.rs -```rust +```rust,ignore #[cfg(test)] mod tests { use super::*;