Update fulldeps tests and clippy
This commit is contained in:
parent
283e5b4106
commit
e793b46e49
24 changed files with 31 additions and 40 deletions
|
|
@ -68,7 +68,6 @@
|
|||
//!
|
||||
//! ```rust
|
||||
//! # #![feature(rustc_private)]
|
||||
//! extern crate serialize as rustc_serialize; // for the deriving below
|
||||
//! use rustc_serialize::json;
|
||||
//!
|
||||
//! // Automatically generate `Decodable` and `Encodable` trait implementations
|
||||
|
|
@ -103,7 +102,6 @@
|
|||
//!
|
||||
//! ```rust
|
||||
//! # #![feature(rustc_private)]
|
||||
//! extern crate serialize as rustc_serialize;
|
||||
//! use rustc_serialize::json::{self, ToJson, Json};
|
||||
//!
|
||||
//! // A custom data structure
|
||||
|
|
@ -143,7 +141,6 @@
|
|||
//!
|
||||
//! ```rust
|
||||
//! # #![feature(rustc_private)]
|
||||
//! extern crate serialize as rustc_serialize;
|
||||
//! use std::collections::BTreeMap;
|
||||
//! use rustc_serialize::json::{self, Json, ToJson};
|
||||
//!
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
#![allow(rustc::internal)]
|
||||
|
||||
extern crate serialize as rustc_serialize;
|
||||
|
||||
use json::DecoderError::*;
|
||||
use json::ErrorCode::*;
|
||||
use json::Json::*;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
extern crate serialize as rustc_serialize;
|
||||
use rustc_serialize::leb128::*;
|
||||
|
||||
macro_rules! impl_test_unsigned_leb128 {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
#![allow(rustc::internal)]
|
||||
|
||||
extern crate serialize as rustc_serialize;
|
||||
|
||||
use rustc_serialize::opaque::{Decoder, Encoder};
|
||||
use rustc_serialize::{Decodable, Encodable};
|
||||
use std::fmt::Debug;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue