diff options
| author | Ian McIntyre <me@mciantyre.dev> | 2025-07-17 21:40:57 -0400 |
|---|---|---|
| committer | Ian McIntyre <me@mciantyre.dev> | 2025-07-17 21:40:57 -0400 |
| commit | 8399ce2522887369677b7e0a4e52922d63221967 (patch) | |
| tree | 8e7430fa1da5e4b4a643c4d2c25ec47652f6e6f3 /src | |
| parent | f3ae75ebd3410c83c5ad4d8b874061d25be95043 (diff) | |
Diffstat (limited to 'src')
| -rw-r--r-- | src/bd.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -236,7 +236,7 @@ impl smoltcp::phy::TxToken for TxToken<'_> { impl smoltcp::phy::RxToken for RxToken<'_> { fn consume<R, F>(self, f: F) -> R where - F: FnOnce(&mut [u8]) -> R, + F: FnOnce(&[u8]) -> R, { // Safety: hardware will not exceed our maximum frame length. We know that // the pointer is valid; see discussion above. |
