mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
chore: fix windows-only clippy errors (#16289)
This commit is contained in:
parent
e54a894917
commit
4ea4d3ad60
1 changed files with 2 additions and 2 deletions
|
@ -146,10 +146,10 @@ pub struct UnixStreamResource;
|
|||
|
||||
#[cfg(not(unix))]
|
||||
impl UnixStreamResource {
|
||||
fn read(self: Rc<Self>, data: &mut [u8]) -> AsyncResult<usize> {
|
||||
fn read(self: Rc<Self>, _data: &mut [u8]) -> AsyncResult<usize> {
|
||||
unreachable!()
|
||||
}
|
||||
fn write(self: Rc<Self>, data: &[u8]) -> AsyncResult<usize> {
|
||||
fn write(self: Rc<Self>, _data: &[u8]) -> AsyncResult<usize> {
|
||||
unreachable!()
|
||||
}
|
||||
pub async fn shutdown(self: Rc<Self>) -> Result<(), AnyError> {
|
||||
|
|
Loading…
Reference in a new issue