From 26ba0e2848ffc68951f711e5cf66f8fbe9a63974 Mon Sep 17 00:00:00 2001 From: ivmarkov Date: Sun, 6 Oct 2024 08:15:42 +0000 Subject: [PATCH] Rename a generic param --- src/eth.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/eth.rs b/src/eth.rs index 7af3e05..ba381dc 100644 --- a/src/eth.rs +++ b/src/eth.rs @@ -110,15 +110,15 @@ where /// - `persist` - a user-provided `Persist` implementation /// - `handler` - a user-provided DM handler implementation /// - `user` - a user-provided future that will be polled only when the netif interface is up - pub async fn run<'d, I, P, H, U>( + pub async fn run<'d, N, P, H, U>( &self, - netif: I, + netif: N, persist: P, handler: H, user: U, ) -> Result<(), Error> where - I: Netif + UdpBind, + N: Netif + UdpBind, P: Persist, H: AsyncHandler + AsyncMetadata, U: Future>,