From 0435a4636181221d705f7c71011d7718c839dc8c Mon Sep 17 00:00:00 2001 From: Ticki Date: Tue, 22 Dec 2015 11:14:14 +0100 Subject: [PATCH] Fix style nitpicks from travis Remove tabs --- src/jemalloc | 2 +- src/libcore/char.rs | 4 ++-- src/librustc/front/map/definitions.rs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/jemalloc b/src/jemalloc index f84e30927284b..e24a1a025a1f2 160000 --- a/src/jemalloc +++ b/src/jemalloc @@ -1 +1 @@ -Subproject commit f84e30927284b0c500ed3eaf09e8e159da20ddaf +Subproject commit e24a1a025a1f214e40eedafe3b9c7b1d69937922 diff --git a/src/libcore/char.rs b/src/libcore/char.rs index d70f080e9bab7..cf70de7788e48 100644 --- a/src/libcore/char.rs +++ b/src/libcore/char.rs @@ -538,8 +538,8 @@ impl Iterator for EscapeDefault { } } - fn count(self) -> usize { - match self.state { + fn count(self) -> usize { + match self.state { EscapeDefaultState::Char(_) => 1, EscapeDefaultState::Unicode(iter) => iter.count(), EscapeDefaultState::Done => 0, diff --git a/src/librustc/front/map/definitions.rs b/src/librustc/front/map/definitions.rs index 6e15059748226..4ca6eb22ff552 100644 --- a/src/librustc/front/map/definitions.rs +++ b/src/librustc/front/map/definitions.rs @@ -16,7 +16,7 @@ use syntax::ast; use syntax::parse::token::InternedString; use util::nodemap::NodeMap; -/// A definition, that defines are +/// A definition #[derive(Clone)] pub struct Definitions { data: Vec, @@ -101,7 +101,7 @@ pub enum DefPathData { /// A struct field Field(hir::StructFieldKind), /// Implicit ctor for a tuple-like struct - StructCtor, + StructCtor, /// Initializer for a constant Initializer, /// A pattern binding