From 1e2ae0e2ee2488590b8a9d0de3d39ed3c180ae6e Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Wed, 26 Oct 2022 11:52:40 +0200 Subject: [PATCH] Add `// new` comment to highlight changed `test_runner` signature --- blog/content/edition-2/posts/04-testing/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/content/edition-2/posts/04-testing/index.md b/blog/content/edition-2/posts/04-testing/index.md index 46f0192b..ad94046c 100644 --- a/blog/content/edition-2/posts/04-testing/index.md +++ b/blog/content/edition-2/posts/04-testing/index.md @@ -555,7 +555,7 @@ The last step is to update our `test_runner` to use the new `Testable` trait: // in src/main.rs #[cfg(test)] -pub fn test_runner(tests: &[&dyn Testable]) { +pub fn test_runner(tests: &[&dyn Testable]) { // new serial_println!("Running {} tests", tests.len()); for test in tests { test.run(); // new