Remove stable attribute from wasi fs (read_exact|write_all)_at
This commit is contained in:
@@ -72,7 +72,6 @@ pub trait FileExt {
|
|||||||
/// If this function returns an error, it is unspecified how many bytes it
|
/// If this function returns an error, it is unspecified how many bytes it
|
||||||
/// has read, but it will never read more than would be necessary to
|
/// has read, but it will never read more than would be necessary to
|
||||||
/// completely fill the buffer.
|
/// completely fill the buffer.
|
||||||
#[stable(feature = "rw_exact_all_at", since = "1.33.0")]
|
|
||||||
fn read_exact_at(&self, mut buf: &mut [u8], mut offset: u64) -> io::Result<()> {
|
fn read_exact_at(&self, mut buf: &mut [u8], mut offset: u64) -> io::Result<()> {
|
||||||
while !buf.is_empty() {
|
while !buf.is_empty() {
|
||||||
match self.read_at(buf, offset) {
|
match self.read_at(buf, offset) {
|
||||||
@@ -144,7 +143,6 @@ pub trait FileExt {
|
|||||||
/// non-[`io::ErrorKind::Interrupted`] kind that [`write_at`] returns.
|
/// non-[`io::ErrorKind::Interrupted`] kind that [`write_at`] returns.
|
||||||
///
|
///
|
||||||
/// [`write_at`]: FileExt::write_at
|
/// [`write_at`]: FileExt::write_at
|
||||||
#[stable(feature = "rw_exact_all_at", since = "1.33.0")]
|
|
||||||
fn write_all_at(&self, mut buf: &[u8], mut offset: u64) -> io::Result<()> {
|
fn write_all_at(&self, mut buf: &[u8], mut offset: u64) -> io::Result<()> {
|
||||||
while !buf.is_empty() {
|
while !buf.is_empty() {
|
||||||
match self.write_at(buf, offset) {
|
match self.write_at(buf, offset) {
|
||||||
|
|||||||
Reference in New Issue
Block a user