Skip to content

Update Unstable Book docs for const_fn #79691

Closed
@camelid

Description

@camelid

The docs currently say:

The const_fn feature allows marking free functions and inherent methods as const, enabling them to be called in constants contexts, with constant arguments.

But that part of const_fn is already stable: #![feature(const_fn)] enables additional functionality.

cc #79674 (comment)

Activity

added
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and tools
on Dec 4, 2020
sasurau4

sasurau4 commented on Dec 8, 2020

@sasurau4
Contributor

I'll work on this.
@rustbot claim

added a commit that references this issue on Dec 10, 2020

Rollup merge of rust-lang#79858 - sasurau4:doc/update-unstable-book-c…

d2e11c5
added a commit that references this issue on Dec 11, 2020

Rollup merge of rust-lang#79858 - sasurau4:doc/update-unstable-book-c…

8709ac8
added
A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)
on Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @RalfJung@sasurau4@camelid

    Issue actions

      Update Unstable Book docs for `const_fn` · Issue #79691 · rust-lang/rust