diff --git a/docs/Unit-Test-Advice.md b/docs/Unit-Test-Advice.md index e88d8acf0f..07af3922f1 100644 --- a/docs/Unit-Test-Advice.md +++ b/docs/Unit-Test-Advice.md @@ -120,6 +120,8 @@ Assume the following function: ```rust // Convenience type to allow Result return types to only specify the type // for the true case; failures are specified as static strings. +// XXX: This is an example. In real code use the "anyhow" and +// XXX: "thiserror" crates. pub type Result = std::result::Result; // The function under test.