mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 17:34:47 -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))]
|
#[cfg(not(unix))]
|
||||||
impl UnixStreamResource {
|
impl UnixStreamResource {
|
||||||
fn read(self: Rc<Self>, data: &mut [u8]) -> AsyncResult<usize> {
|
fn read(self: Rc<Self>, _data: &mut [u8]) -> AsyncResult<usize> {
|
||||||
unreachable!()
|
unreachable!()
|
||||||
}
|
}
|
||||||
fn write(self: Rc<Self>, data: &[u8]) -> AsyncResult<usize> {
|
fn write(self: Rc<Self>, _data: &[u8]) -> AsyncResult<usize> {
|
||||||
unreachable!()
|
unreachable!()
|
||||||
}
|
}
|
||||||
pub async fn shutdown(self: Rc<Self>) -> Result<(), AnyError> {
|
pub async fn shutdown(self: Rc<Self>) -> Result<(), AnyError> {
|
||||||
|
|
Loading…
Add table
Reference in a new issue