Fix some clippy warnings (#1277)

This commit is contained in:
llogiq
2019-12-07 18:47:43 +01:00
committed by Andrew Brown
parent 2c51341888
commit 0d8f8bc71f
10 changed files with 24 additions and 19 deletions

View File

@@ -22,7 +22,6 @@
//! ```
//! # extern crate cranelift_codegen;
//! # #[macro_use] extern crate target_lexicon;
//! # fn main() {
//! use cranelift_codegen::isa;
//! use cranelift_codegen::settings::{self, Configurable};
//! use std::str::FromStr;
@@ -40,7 +39,6 @@
//! let isa = isa_builder.finish(shared_flags);
//! }
//! }
//! # }
//! ```
//!
//! The configured target ISA trait object is a `Box<TargetIsa>` which can be used for multiple