Skip to content

Tracking Issue for constify-ing non-trait Duration methods #72440

Closed
@marmeladema

Description

@marmeladema

This is a tracking issue for constify-ing non-trait Duration methods

The feature gates for the issueis #![feature(duration_consts_float)]. The methods covered by that are:

  • Duration::as_secs_f64
  • Duration::as_secs_f32
  • Duration::as_millis_f64
  • Duration::as_millis_f32
  • Duration::div_duration_f64
  • Duration::div_duration_f32

Steps

Unresolved Questions

XXX --- list all the "unresolved questions" found in the RFC to ensure they are
not forgotten

Implementation history

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)A-timeArea: TimeC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCLibs-TrackedLibs issues that are tracked on the team's project board.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions