()
| 20 | |
| 21 | impl<const RATE: usize> Default for SpongeCursor<RATE> { |
| 22 | fn default() -> Self { |
| 23 | const { |
| 24 | assert!(RATE != 0); |
| 25 | assert!(RATE < u8::MAX as usize); |
| 26 | } |
| 27 | |
| 28 | Self { pos: 0 } |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | // Note that the methods should compile into a panic-free code, |
nothing calls this directly
no outgoing calls
no test coverage detected