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

record_wav example, question about using Option #895

Open
RainerZufall187 opened this issue Jul 4, 2024 · 1 comment
Open

record_wav example, question about using Option #895

RainerZufall187 opened this issue Jul 4, 2024 · 1 comment
Labels

Comments

@RainerZufall187
Copy link

why does this line use Option?

let writer = Arc::new(Mutex::new(Some(writer)));

@Ralith
Copy link
Contributor

Ralith commented Jul 4, 2024

What does the compiler say when you remove it?

@est31 est31 added the question label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants