Browse Source

Fix rustc warning about unused Write trait.

pull/3/head
Jakob Stoklund Olesen 8 years ago
parent
commit
84abe28837
  1. 2
      src/libcretonne/entities.rs
  2. 2
      src/libcretonne/types.rs
  3. 2
      src/libreader/parser.rs

2
src/libcretonne/entities.rs

@ -20,7 +20,7 @@
//! format.
use std::default::Default;
use std::fmt::{self, Display, Formatter, Write};
use std::fmt::{self, Display, Formatter};
use std::u32;
/// An opaque reference to an extended basic block in a function.

2
src/libcretonne/types.rs

@ -2,7 +2,7 @@
//! Common types for the Cretonne code generator.
use std::default::Default;
use std::fmt::{self, Display, Formatter, Write};
use std::fmt::{self, Display, Formatter};
// ====--------------------------------------------------------------------------------------====//
//

2
src/libreader/parser.rs

@ -7,7 +7,7 @@
use std::collections::HashMap;
use std::result;
use std::fmt::{self, Display, Formatter, Write};
use std::fmt::{self, Display, Formatter};
use std::str::FromStr;
use std::u32;
use lexer::{self, Lexer, Token};

Loading…
Cancel
Save