From bbc6a52efb2b1ab89f6e913abf62252f101f51e9 Mon Sep 17 00:00:00 2001
From: "." <.>
Date: Mon, 30 Dec 2024 20:42:22 +0700
Subject: [PATCH 1/2] Ch. 21.3: remove error ferris from good code
---
src/ch21-03-graceful-shutdown-and-cleanup.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ch21-03-graceful-shutdown-and-cleanup.md b/src/ch21-03-graceful-shutdown-and-cleanup.md
index fc4fbada88..8bbb56f1a6 100644
--- a/src/ch21-03-graceful-shutdown-and-cleanup.md
+++ b/src/ch21-03-graceful-shutdown-and-cleanup.md
@@ -74,7 +74,7 @@ So we need to update the `ThreadPool` `drop` implementation like this:
-```rust,ignore,does_not_compile
+```rust,ignore
{{#rustdoc_include ../listings/ch21-web-server/no-listing-04-update-drop-definition/src/lib.rs:here}}
```
From c36194617c9c6a252ec9bfef65ffa6ffce24cf74 Mon Sep 17 00:00:00 2001
From: Chris Krycho
Date: Mon, 6 Jan 2025 09:06:07 -0700
Subject: [PATCH 2/2] Ch. 21.3: do not ignore working code in Listing 21-23
---
src/ch21-03-graceful-shutdown-and-cleanup.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ch21-03-graceful-shutdown-and-cleanup.md b/src/ch21-03-graceful-shutdown-and-cleanup.md
index 8bbb56f1a6..a58f4ddc69 100644
--- a/src/ch21-03-graceful-shutdown-and-cleanup.md
+++ b/src/ch21-03-graceful-shutdown-and-cleanup.md
@@ -74,7 +74,7 @@ So we need to update the `ThreadPool` `drop` implementation like this:
-```rust,ignore
+```rust
{{#rustdoc_include ../listings/ch21-web-server/no-listing-04-update-drop-definition/src/lib.rs:here}}
```