Skip to content

Commit

Permalink
Remove use of use crate::
Browse files Browse the repository at this point in the history
  • Loading branch information
akubera committed Dec 20, 2018
1 parent e90f56f commit d22ae0d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 12 deletions.
3 changes: 1 addition & 2 deletions root-io/src/core/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ use std::io::{BufReader, Seek, SeekFrom, Read};

use failure::Error;
use nom::{IResult, *};
use crate::core::types::Context;

use MAP_OFFSET;
use ::core::*;
use ::core::{*, Context};
use ::code_gen::rust::{ToNamedRustParser, ToRustStruct};

/// `RootFile` wraps the most basic information of a ROOT file.
Expand Down
5 changes: 2 additions & 3 deletions root-io/src/core/tstreamerinfo.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
use quote::*;
// use nom::*;
use nom::HexDisplay;
use nom::{IResult, be_u16, be_u32};


use crate::core::{*, Context};
use ::core::{TStreamer, tstreamer, TNamed, Context};
use ::core::parsers::*;
use ::code_gen::rust::{ToRustType, ToRustParser, ToNamedRustParser, ToRustStruct};
use ::code_gen::utils::{type_is_core};

Expand Down
5 changes: 2 additions & 3 deletions root-io/src/tree_reader/branch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ use std::io::SeekFrom;
use std::path::PathBuf;
use nom::*;

use core::parsers::*;
// use crate::core::types::*;
use crate::core::types::{Raw, Context};
use ::core::parsers::*;
use ::core::types::{Raw, Context};

use code_gen::rust::ToRustType;

Expand Down
2 changes: 1 addition & 1 deletion root-io/src/tree_reader/leafs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::fmt;
use nom::*;
use quote::{Ident, Tokens};

use crate::core::{*, Context};
use ::core::{*, Context};
use code_gen::rust::ToRustType;

#[derive(Debug, Clone)]
Expand Down
5 changes: 2 additions & 3 deletions root-io/src/tree_reader/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ use std::fmt;
use std::ops::Deref;
use nom::*;

use core::parsers::*;
use core::types::*;
use crate::core::types::Context;
use ::core::parsers::*;
use ::core::types::{TNamed, Context};

use tree_reader::branch::TBranch;
use tree_reader::branch::tbranch_hdr;
Expand Down

0 comments on commit d22ae0d

Please sign in to comment.