-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant 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.This 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.The final comment period is finished for this PR / Issue.
Description
Feature gate: #![feature(bound_map)]
This is a tracking issue for providing a map
method on Bound
. This method calls a function on the contained value of a Bound
(including both Included
and Exclcuded
, returning a Bound
of the same kind.
Public API
impl<T> Bound<T> {
pub fn map<U, F: FnOnce(T) -> U>(self, f: F) -> Bound<U>;
}
Steps / History
- Implementation: Add a map method to Bound #83646
- Final commenting period (FCP)
- Stabilization PR
Unresolved Questions
- None yet.
kpozin, veprolet, saona-raimundo, Congee, Akida31 and 7 more
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant 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.This 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.The final comment period is finished for this PR / Issue.