Skip to content

Commit 9af047f

Browse files
committed
Fix show-const-contents rustdoc test
1 parent 6850e4a commit 9af047f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/rustdoc/show-const-contents.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pub const MY_TYPE_WITH_STR: MyTypeWithStr = MyTypeWithStr("show this");
5151
// @has show_const_contents/constant.PI.html '; // 3.14159274f32'
5252
pub use std::f32::consts::PI;
5353

54-
// @has show_const_contents/constant.MAX.html '= i32::max_value(); // 2_147_483_647i32'
54+
// @has show_const_contents/constant.MAX.html '= i32::MAX; // 2_147_483_647i32'
5555
pub use std::i32::MAX;
5656

5757
macro_rules! int_module {

0 commit comments

Comments
 (0)