1
0
Fork 0

Remove unnecessary must_use attribute

This commit is contained in:
Robbert van der Helm 2023-03-01 19:11:35 +01:00
parent 9dad9fe1a4
commit 199e836f80

View file

@ -174,7 +174,6 @@ impl<P: Vst3Plugin> WrapperView<P> {
/// run on the host's UI thread. If not, then this will return an `Err` value containing the /// run on the host's UI thread. If not, then this will return an `Err` value containing the
/// task so it can be run elsewhere. /// task so it can be run elsewhere.
#[cfg(not(target_os = "linux"))] #[cfg(not(target_os = "linux"))]
#[must_use]
pub fn do_maybe_in_run_loop(&self, task: Task<P>) -> Result<(), Task<P>> { pub fn do_maybe_in_run_loop(&self, task: Task<P>) -> Result<(), Task<P>> {
Err(task) Err(task)
} }