-
-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Tracking Issue for borrowed_buf_init #160476
Copy link
Copy link
Open
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 RFCS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.T-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Description
Activity
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 RFCS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.T-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Feature gate:
#![feature(borrowed_buf_init)]This is a tracking issue for
borrowed_buf_initPublic API
Steps / History
core_io_borrowed_buf#117693ensure_initgeneric overT: Default: core: generalizeBorrowedCursor::ensure_init#160432Unresolved Questions
ensure_initbe weakened toT: Default? Or should we have API more similar to[T: Clone]::fill(&mut self, value: T)/[T]::fill_with<F: FnMut() -> T>(&mut self, f: F)?Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩