Tracking Issue for more const methods on Result (original) (raw)

Feature gate: #![feature(const_result_trait_fn)]

This is a tracking issue for additional const functions of Result, such as map, and, or.

Public API

const { opt.is_ok_and(u32::is_even) }

Steps / History

(Remember to update the S-tracking-* label when checking boxes.)

Unresolved Questions

Footnotes

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html