From 1e62aa59f8c772b3fd5235367bc993f09dc2ba9b Mon Sep 17 00:00:00 2001 From: Tom Kaitchuck Date: Sun, 26 Jul 2020 23:46:08 -0700 Subject: [PATCH] Update idioms/rustdoc-init.md Co-authored-by: Ivan Tham --- idioms/rustdoc-init.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idioms/rustdoc-init.md b/idioms/rustdoc-init.md index 26fc895..889041a 100644 --- a/idioms/rustdoc-init.md +++ b/idioms/rustdoc-init.md @@ -78,4 +78,4 @@ So this pattern is most useful when need `no_run`. With this, you do not need to If assertions are not required this pattern works well. If they are, an alternative can be to create a public method to create a dummy instance which is annotated with `#[doc(hidden)]` (so that users won't see it). -Then this method can be called inside of Rustdocs because it is part of the crate's public API. +Then this method can be called inside of rustdoc because it is part of the crate's public API.