Explicitly mention [cfg(test)]

Co-authored-by: llogiq <bogusandre@gmail.com>
This commit is contained in:
kraktus 2022-10-22 21:07:05 +02:00 committed by GitHub
parent 6551754945
commit a0c82d2bcc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -373,7 +373,7 @@ define_Conf! {
(max_include_file_size: u64 = 1_000_000),
/// Lint: EXPECT_USED.
///
/// Whether `expect` should be allowed in test cfg
/// Whether `expect` should be allowed within `#[cfg(test)]`
(allow_expect_in_tests: bool = false),
/// Lint: UNWRAP_USED.
///