Skip to content

Commit 3fb42cf

Browse files
committed
const fn no longer comming soon on const docs
1 parent 2442823 commit 3fb42cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/keyword_docs.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ mod as_keyword { }
4747
///
4848
/// Constants must be explicitly typed, unlike with `let` you can't ignore its type and let the
4949
/// 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`.
5252
///
5353
/// The only lifetime allowed in a constant is `'static`, which is the lifetime that encompasses
5454
/// all others in a Rust program. For example, if you wanted to define a constant string, it would

0 commit comments

Comments
 (0)