Skip to content

Commit

Permalink
s/::util::/util::/ (with use util;)
Browse files Browse the repository at this point in the history
  • Loading branch information
RGafiyatullin committed Nov 2, 2015
1 parent 75d9f40 commit 03a9f8b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/reader/error_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use std::borrow::Cow;
use std::fmt;
use std::error;

use util;
use common::{Position, TextPosition};

use super::{Error, ErrorKind};
Expand Down Expand Up @@ -49,9 +50,9 @@ impl<'a, P, M> From<( &'a P, M )> for Error where P: Position, M: Into<Cow<'stat
}
}

impl From<::util::CharReadError> for Error {
fn from( e: ::util::CharReadError ) -> Self {
use ::util::CharReadError::*;
impl From<util::CharReadError> for Error {
fn from( e: util::CharReadError ) -> Self {
use util::CharReadError::*;
Error{
pos: TextPosition::new(),
kind: match e {
Expand Down

0 comments on commit 03a9f8b

Please sign in to comment.