about summary refs log tree commit diff
path: root/library/stdarch/crates/std_detect/src/detect/cache.rs
diff options
context:
space:
mode:
authorLinus Färnstrand <faern@faern.net>2020-03-29 18:08:21 +0200
committerGitHub <noreply@github.com>2020-03-29 17:08:21 +0100
commitb852344de56d0998c13dd64ca6578ff8fa2370c9 (patch)
tree1b704995cef84f480375ce9c041a6b89fc4b0004 /library/stdarch/crates/std_detect/src/detect/cache.rs
parentc554b42b2ad97a535ff97be3e78e181187ed336b (diff)
downloadrust-b852344de56d0998c13dd64ca6578ff8fa2370c9.tar.gz
rust-b852344de56d0998c13dd64ca6578ff8fa2370c9.zip
Replace module MIN/MAX and min/max_value() with assoc consts (#843)
Diffstat (limited to 'library/stdarch/crates/std_detect/src/detect/cache.rs')
-rw-r--r--library/stdarch/crates/std_detect/src/detect/cache.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/stdarch/crates/std_detect/src/detect/cache.rs b/library/stdarch/crates/std_detect/src/detect/cache.rs
index d421037f691..a9123c27234 100644
--- a/library/stdarch/crates/std_detect/src/detect/cache.rs
+++ b/library/stdarch/crates/std_detect/src/detect/cache.rs
@@ -80,7 +80,7 @@ impl Initializer {
 // Note: on x64, we only use the first slot
 static CACHE: [Cache; 2] = [Cache::uninitialized(), Cache::uninitialized()];
 
-/// Feature cache with capacity for `usize::max_value() - 1` features.
+/// Feature cache with capacity for `usize::MAX - 1` features.
 ///
 /// Note: the last feature bit is used to represent an
 /// uninitialized cache.