swf: make Clippy happy

This commit is contained in:
Adrian Wielgosik 2022-12-03 16:54:06 +01:00 committed by Adrian Wielgosik
parent 5b9da62c0a
commit 0861153626
9 changed files with 13 additions and 0 deletions

View File

@ -1,4 +1,5 @@
#![allow(clippy::bool_to_int_with_if)]
#![allow(clippy::uninlined_format_args)]
#[macro_use]
mod display_object;

View File

@ -1,3 +1,5 @@
#![allow(clippy::uninlined_format_args)]
use fnv::FnvHashMap;
use gc_arena::MutationContext;
use ruffle_render::backend::null::NullBitmapSource;

View File

@ -1,3 +1,4 @@
#![allow(clippy::uninlined_format_args)]
use naga::Module;
mod builder;

View File

@ -1,4 +1,5 @@
#![allow(clippy::bool_to_int_with_if)]
#![allow(clippy::uninlined_format_args)]
use bytemuck::{Pod, Zeroable};
use fnv::FnvHashMap;

View File

@ -1,3 +1,5 @@
#![allow(clippy::uninlined_format_args)]
use crate::bitmaps::BitmapSamplers;
use crate::descriptors::Quad;
use crate::globals::Globals;

View File

@ -1,3 +1,5 @@
#![allow(clippy::uninlined_format_args)]
use crate::analyze::analyze_main;
use crate::cli_options::{Mode, Opt};
use crate::execute::execute_report_main;

View File

@ -8,6 +8,7 @@
//! writing SWF data.
#![allow(clippy::bool_to_int_with_if)]
#![allow(clippy::uninlined_format_args)]
#[cfg(feature = "flate2")]
extern crate flate2;

View File

@ -1,3 +1,5 @@
#![allow(clippy::uninlined_format_args)]
//! Tests running SWFs in a headless Ruffle instance.
//!
//! Trace output can be compared with correct output from the official Flash Player.

View File

@ -1,4 +1,5 @@
#![no_std]
#![allow(clippy::uninlined_format_args)]
//! Provides UCS2 string types for usage in AVM1 and AVM2.
//!
//! Internally, these types are represeted by a sequence of 1-byte or 2-bytes (wide) code units,