Skip to content

Commit 79ebdae

Browse files
committed
Add a new example to the "Logging and Debugging" chapter.
1 parent 0aea95b commit 79ebdae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/logging-and-debugging.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ Either the logging/debugging code itself is slow, or data collection code that
55
feeds into logging/debugging code is slow. Make sure that no unnecessary work
66
is done for logging/debugging purposes when logging/debugging is not enabled.
77
[**Example 1**](https://github.com/rust-lang/rust/pull/50246/commits/2e4f66a86f7baa5644d18bb2adc07a8cd1c7409d),
8-
[**Example 2**](https://github.com/rust-lang/rust/pull/75133/commits/eeb4b83289e09956e0dda174047729ca87c709fe).
8+
[**Example 2**](https://github.com/rust-lang/rust/pull/75133/commits/eeb4b83289e09956e0dda174047729ca87c709fe),
9+
[**Example 3**](https://github.com/rust-lang/rust/pull/147293/commits/cb0f969b623a7e12a0d8166c9a498e17a8b5a3c4).
910

1011
Note that [`assert!`] calls always run, but [`debug_assert!`] calls only run in
1112
dev builds. If you have an assertion that is hot but is not necessary for

0 commit comments

Comments
 (0)