swf: make Clippy happy
This commit is contained in:
parent
5b9da62c0a
commit
0861153626
|
@ -1,4 +1,5 @@
|
|||
#![allow(clippy::bool_to_int_with_if)]
|
||||
#![allow(clippy::uninlined_format_args)]
|
||||
|
||||
#[macro_use]
|
||||
mod display_object;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#![allow(clippy::uninlined_format_args)]
|
||||
|
||||
use fnv::FnvHashMap;
|
||||
use gc_arena::MutationContext;
|
||||
use ruffle_render::backend::null::NullBitmapSource;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#![allow(clippy::uninlined_format_args)]
|
||||
use naga::Module;
|
||||
|
||||
mod builder;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#![allow(clippy::bool_to_int_with_if)]
|
||||
#![allow(clippy::uninlined_format_args)]
|
||||
|
||||
use bytemuck::{Pod, Zeroable};
|
||||
use fnv::FnvHashMap;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#![allow(clippy::uninlined_format_args)]
|
||||
|
||||
use crate::bitmaps::BitmapSamplers;
|
||||
use crate::descriptors::Quad;
|
||||
use crate::globals::Globals;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue