Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove unnecessary Default::default() #557

Merged
merged 1 commit into from
Mar 24, 2024
Merged

refactor: remove unnecessary Default::default() #557

merged 1 commit into from
Mar 24, 2024

Conversation

hamirmahal
Copy link
Contributor

No description provided.

},
)?;
let mut decoder = symphonia::default::get_codecs()
.make(&stream.codec_params, &DecoderOptions { verify: true })?;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pub struct DecoderOptions { only has pub verify: bool,, which this code already specifies, so ..Default::default() isn't doing anything here.

@est31 est31 merged commit 616ee26 into RustAudio:master Mar 24, 2024
10 checks passed
@hamirmahal hamirmahal deleted the refactor/remove-unnecessary-default branch March 24, 2024 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants