Skip to content

Commit

Permalink
Fix cargo t --all-features --all (#7655)
Browse files Browse the repository at this point in the history
Broken on `main` because of new doc comments that cargo-doc erroneously
tries to interpret as something they're not:

![image](https://github.com/user-attachments/assets/f0a6a18f-d820-4414-8c4e-f95793e77c5f)
  • Loading branch information
teh-cmc authored Oct 9, 2024
1 parent c3af105 commit 9e8011a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ pub enum YuvPixelLayout {
/// First comes entire image in Y in one plane,
/// followed by a plane with interleaved lines ordered as U0, V0, U1, V1, etc.
///
/// ```text
/// width
/// __________
/// | |
Expand All @@ -34,6 +35,7 @@ pub enum YuvPixelLayout {
/// |_________|
/// height/2 | U,V,U,… |
/// |_________|
/// ```
Y_UV12 = 0,

/// YUV 4:2:2 subsampling, single plane.
Expand All @@ -42,12 +44,13 @@ pub enum YuvPixelLayout {
///
/// The order of the channels is Y0, U0, Y1, V0, all in the same plane.
///
/// ```text
/// width * 2
/// __________________
/// | |
/// height | Y0, U0, Y1, V0… |
/// |_________________|
///
/// ```
YUYV16 = 1,
}

Expand Down

0 comments on commit 9e8011a

Please sign in to comment.