-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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.
Milestone
Description
Feature gate: #![feature(const_mut_cursor)]
This is a tracking issue for marking the get_mut and set_position methods in std::io::Cursor as const.
Public API
// std::io
impl<T> Cursor<T> {
pub const fn get_mut(&mut self) -> &mut T;
pub const fn set_position(&mut self, pos: u64);
}Steps / History
- Implementation: Mark
get_mutandset_positioninstd::io::Cursoras const. #130800 - Final comment period (FCP)
- Stabilization PR: Stabilise
Cursor::{get_mut, set_position}inconstscenarios. #136634
Unresolved Questions
- Can we also "constify"
into_inner?
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.