File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ mod as_keyword { }
47
47
///
48
48
/// Constants must be explicitly typed, unlike with `let` you can't ignore its type and let the
49
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`.
50
+ /// to be most things that would be reasonable to have a constant (barring `const fn`s). For
51
+ /// example, you can't have a File as a `const`.
52
52
///
53
53
/// The only lifetime allowed in a constant is `'static`, which is the lifetime that encompasses
54
54
/// all others in a Rust program. For example, if you wanted to define a constant string, it would
You can’t perform that action at this time.
0 commit comments