Skip to content

Commit 4645e55

Browse files
committed
Future-proof ExtensionData
1 parent 4262f07 commit 4645e55

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/encoder.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ impl Default for Repeat {
9393
}
9494

9595
/// Extension data.
96+
#[non_exhaustive]
9697
pub enum ExtensionData {
9798
/// Control extension. Use `ExtensionData::new_control_ext` to construct.
9899
Control {

0 commit comments

Comments
 (0)