We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2442823 commit 3fb42cfCopy full SHA for 3fb42cf
src/libstd/keyword_docs.rs
@@ -47,8 +47,8 @@ mod as_keyword { }
47
///
48
/// Constants must be explicitly typed, unlike with `let` you can't ignore its type and let the
49
/// compiler figure it out. Any constant value can be defined in a const, which in practice happens
50
-/// to be most things that would be reasonable to have a constant (barring `const fn`s, coming
51
-/// soon). For example, you can't have a File as a `const`.
+/// to be most things that would be reasonable to have a constant (barring `const fn`s). For
+/// example, you can't have a File as a `const`.
52
53
/// The only lifetime allowed in a constant is `'static`, which is the lifetime that encompasses
54
/// all others in a Rust program. For example, if you wanted to define a constant string, it would
0 commit comments