We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ce16cf commit 9fcbaa4Copy full SHA for 9fcbaa4
src/test/rustdoc/show-const-contents.rs
@@ -47,9 +47,9 @@ pub struct MyTypeWithStr(&'static str);
47
// @!has show_const_contents/constant.MY_TYPE_WITH_STR.html '; //'
48
pub const MY_TYPE_WITH_STR: MyTypeWithStr = MyTypeWithStr("show this");
49
50
-// @has show_const_contents/constant.EPSILON.html '1.1920929e-7f32;'
51
-// @!has show_const_contents/constant.EPSILON.html '; //'
52
-pub use std::f32::EPSILON;
+// @has show_const_contents/constant.PI.html '= 3.14159265358979323846264338327950288f32;'
+// @has show_const_contents/constant.PI.html '; // 3.14159274f32'
+pub use std::f32::consts::PI;
53
54
// @has show_const_contents/constant.MAX.html '= i32::max_value(); // 2_147_483_647i32'
55
pub use std::i32::MAX;
0 commit comments