We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 317fbb6 commit de62c68Copy full SHA for de62c68
src/ogg/write.rs
@@ -22,8 +22,7 @@ pub(crate) enum OGGFormat {
22
}
23
24
impl OGGFormat {
25
- #[allow(clippy::trivially_copy_pass_by_ref)]
26
- pub(crate) fn comment_signature(&self) -> Option<&[u8]> {
+ pub(crate) fn comment_signature(self) -> Option<&'static [u8]> {
27
match self {
28
OGGFormat::Opus => Some(OPUSTAGS),
29
OGGFormat::Vorbis => Some(VORBIS_COMMENT_HEAD),
0 commit comments