S3: drop the doc comment added to wrap_delta (no new comments)
Browse files at this commit369875456449d276769df6286830ff52e336fd0cParent: 0d055331 changed file +0 -1
crates/ec-mpegts/src/demux.rsmodified+0 -1
| @@ -68,7 +68,6 @@ enum Cc { | |||
| 68 | 68 | ||
| 69 | const WRAP33: i64 = 1 << 33; | 69 | const WRAP33: i64 = 1 << 33; |
| 70 | 70 | ||
| 71 | -/// Signed distance from `b` to `a` on the 33-bit clock, in [-2^32, 2^32). | ||
| 72 | pub(crate) fn wrap_delta(a: i64, b: i64) -> i64 { | 71 | pub(crate) fn wrap_delta(a: i64, b: i64) -> i64 { |
| 73 | let d = (a - b).rem_euclid(WRAP33); | 72 | let d = (a - b).rem_euclid(WRAP33); |
| 74 | if d >= WRAP33 / 2 { d - WRAP33 } else { d } | 73 | if d >= WRAP33 / 2 { d - WRAP33 } else { d } |