Create a cache with key increment 1
()
| 40 | |
| 41 | /// Create a cache with key increment 1 |
| 42 | pub fn sequential() -> Self { |
| 43 | Self { |
| 44 | increment: K::one(), |
| 45 | data: Default::default(), |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | pub fn increment(&self) -> K { |
| 50 | self.increment |
nothing calls this directly
no outgoing calls
no test coverage detected