forge
Explore
Log in

Don't you dare go Hollow

B11: drop doc comment on sample_at (no-comments rule)

Browse files at this commit

a0267da82d6ed936d9476ac51f2205d4c677e660Ahmet Kaan GümüşParent: 4aa9f94
crates/ec-alac/src/encode.rsmodified+0 -1
@@ -453,7 +453,6 @@ fn plan_of(c: Candidate) -> ChannelPlan {
453453 }
454454 }
455455
456-/// The sample at byte offset `at` of one plane, or `None` past its end.
457456 fn sample_at(plane: &[u8], at: usize, format: SampleFormat) -> Option<i32> {
458457 match format {
459458 SampleFormat::S16 => Some(i32::from(i16::from_ne_bytes(plane.get(at..at + 2)?.try_into().ok()?))),