mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-26 12:00:32 +00:00
webrtchttp: Remove unnecessary clippy warning override
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1009>
This commit is contained in:
parent
65efdc8c81
commit
289e8a08c3
2 changed files with 4 additions and 8 deletions
|
@ -445,10 +445,8 @@ impl WhepSrc {
|
|||
// With tokio's spawn one does not have to .await the
|
||||
// returned JoinHandle to make the provided future start
|
||||
// execution. It will start running in the background
|
||||
// immediately when spawn is called. So silence the clippy
|
||||
// warning.
|
||||
#[allow(clippy::let_underscore_future)]
|
||||
let _ = RUNTIME.spawn(async move {
|
||||
// immediately when spawn is called.
|
||||
RUNTIME.spawn(async move {
|
||||
/* Note that we check for a valid WHEP endpoint in change_state */
|
||||
self_ref.whep_offer().await
|
||||
});
|
||||
|
|
|
@ -366,10 +366,8 @@ impl ObjectImpl for WhipSink {
|
|||
// With tokio's spawn one does not have to .await the
|
||||
// returned JoinHandle to make the provided future start
|
||||
// execution. It will start running in the background
|
||||
// immediately when spawn is called. So silence the clippy
|
||||
// warning.
|
||||
#[allow(clippy::let_underscore_future)]
|
||||
let _ = RUNTIME.spawn(async move {
|
||||
// immediately when spawn is called.
|
||||
RUNTIME.spawn(async move {
|
||||
/* Note that we check for a valid WHIP endpoint in change_state */
|
||||
self_ref.send_offer().await
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue