Skip to content

Commit 325fc41

Browse files
committed
Fix some unrelated clippy warnings on CI
1 parent 5457ec1 commit 325fc41

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/store/re_video/src/decode/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ pub enum Error {
110110

111111
#[cfg(target_arch = "wasm32")]
112112
#[error(transparent)]
113-
WebDecoderError(#[from] webcodecs::Error),
113+
WebDecoder(#[from] webcodecs::Error),
114114

115115
#[error("Unsupported bits per component: {0}")]
116116
BadBitsPerComponent(usize),

crates/store/re_video/src/decode/webcodecs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ fn init_video_decoder(
190190
};
191191

192192
let on_error = Closure::wrap(Box::new(move |err: js_sys::Error| {
193-
on_output_callback(Err(super::Error::WebDecoderError(Error::Decoding(
193+
on_output_callback(Err(super::Error::WebDecoder(Error::Decoding(
194194
js_error_to_string(&err),
195195
))));
196196
}) as Box<dyn Fn(js_sys::Error)>);

crates/viewer/re_viewer/src/web_tools.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ pub fn url_to_receiver(
143143
re_rrdp_comms::stream_recording(url, Some(ui_waker)).map_err(|err| err.into())
144144
}
145145
#[cfg(not(feature = "rrdp"))]
146-
EndpointCategory::DataPlatform(url) => {
146+
EndpointCategory::DataPlatform(_url) => {
147147
anyhow::bail!("Missing 'rrdp' feature flag");
148148
}
149149
EndpointCategory::WebEventListener(url) => {

0 commit comments

Comments
 (0)