From d7445c84c7113990ea402e22336527f5f77f3c80 Mon Sep 17 00:00:00 2001 From: Fabing Li Date: Wed, 15 Jan 2025 08:07:47 +0000 Subject: [PATCH] Fix clone implementation for DmaStreamSlice --- ostd/src/mm/dma/dma_stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ostd/src/mm/dma/dma_stream.rs b/ostd/src/mm/dma/dma_stream.rs index 645bbf64..39e956f3 100644 --- a/ostd/src/mm/dma/dma_stream.rs +++ b/ostd/src/mm/dma/dma_stream.rs @@ -346,7 +346,7 @@ impl> HasPaddr for DmaStreamSlice { } } -impl Clone for DmaStreamSlice { +impl + Clone> Clone for DmaStreamSlice { fn clone(&self) -> Self { Self { stream: self.stream.clone(),