mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-27 19:33:23 +00:00
Fix multiple issues pointed out by the new compiler
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
5f2bd9d0ac
commit
9e4257b655
@ -502,7 +502,7 @@ pub struct InodeWriter<'a> {
|
||||
offset: usize,
|
||||
}
|
||||
|
||||
impl<'a> Write for InodeWriter<'a> {
|
||||
impl Write for InodeWriter<'_> {
|
||||
#[inline]
|
||||
fn write(&mut self, buf: &[u8]) -> IoResult<usize> {
|
||||
let mut reader = VmReader::from(buf).to_fallible();
|
||||
|
Reference in New Issue
Block a user