From 6f99436781ceac98ef342619be3b62ba46f9fda6 Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Sun, 5 Dec 2021 08:34:16 +0100 Subject: [PATCH] Explain that `assert_contains_substring` is always available --- src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 8997280..550c5a5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -67,7 +67,10 @@ //! * `html_root_url_updated` enables [`assert_html_root_url_updated`]. //! * `contains_regex` enables [`assert_contains_regex`]. //! -//! All of these features are enabled by default. +//! All of these features are enabled by default. If you disable all +//! of them, you can still use [`assert_contains_substring`] to +//! quickly check that a given file contains the current crate +//! version. //! //! [`html_root_url`]: https://rust-lang-nursery.github.io/api-guidelines/documentation.html#crate-sets-html_root_url-attribute-c-html-root //! [`assert_markdown_deps_updated`]: macro.assert_markdown_deps_updated.html