forked from mirrors/gstreamer-rs
Fix various new clippy warnings
This commit is contained in:
parent
01397b213d
commit
a426c03720
2 changed files with 2 additions and 1 deletions
|
@ -82,6 +82,7 @@ void main() {
|
|||
#[allow(clippy::unreadable_literal)]
|
||||
#[allow(clippy::unused_unit)]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[allow(clippy::manual_non_exhaustive)]
|
||||
mod gl {
|
||||
pub use self::Gles2 as Gl;
|
||||
include!(concat!(env!("OUT_DIR"), "/test_gl_bindings.rs"));
|
||||
|
|
|
@ -488,7 +488,7 @@ impl<'a> EncodingContainerProfileBuilder<'a> {
|
|||
for profile in self.profiles {
|
||||
container_profile
|
||||
.add_profile(&profile)
|
||||
.or_else(|_error| Err(EncodingProfileBuilderError(())))?;
|
||||
.map_err(|_error| EncodingProfileBuilderError(()))?;
|
||||
}
|
||||
|
||||
set_common_fields(&container_profile, &self.base);
|
||||
|
|
Loading…
Reference in a new issue