From b7f7fec8e15d62a19a220f0841f187d80710cf8f Mon Sep 17 00:00:00 2001 From: Danik Vitek Date: Wed, 29 Jan 2025 16:17:58 +0200 Subject: [PATCH] use `crate::io::Result` --- borsh/src/async_io.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/borsh/src/async_io.rs b/borsh/src/async_io.rs index 90eef618f..c51d6348d 100644 --- a/borsh/src/async_io.rs +++ b/borsh/src/async_io.rs @@ -1,5 +1,6 @@ use core::future::Future; -use std::io::Result; + +use crate::io::Result; pub trait AsyncRead: Unpin + Send { fn read<'a>(&'a mut self, buf: &'a mut [u8])