From ccfc6513bf596ec1b82e0a7b5b0c6fcf5ae296aa Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Sun, 15 Mar 2015 15:10:05 -0700 Subject: [PATCH] Remove build_ from some attr builders --- src/attr.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/attr.rs b/src/attr.rs index d20d3300d..83b9583f5 100644 --- a/src/attr.rs +++ b/src/attr.rs @@ -76,35 +76,35 @@ impl AttrBuilder self.word("test") } - pub fn build_allow(self, iter: I) -> F::Result + pub fn allow(self, iter: I) -> F::Result where I: IntoIterator, T: ToInternedString, { self.list("allow").words(iter).build() } - pub fn build_warn(self, iter: I) -> F::Result + pub fn warn(self, iter: I) -> F::Result where I: IntoIterator, T: ToInternedString, { self.list("warn").words(iter).build() } - pub fn build_deny(self, iter: I) -> F::Result + pub fn deny(self, iter: I) -> F::Result where I: IntoIterator, T: ToInternedString, { self.list("deny").words(iter).build() } - pub fn build_features(self, iter: I) -> F::Result + pub fn features(self, iter: I) -> F::Result where I: IntoIterator, T: ToInternedString, { self.list("feature").words(iter).build() } - pub fn build_plugins(self, iter: I) -> F::Result + pub fn plugins(self, iter: I) -> F::Result where I: IntoIterator, T: ToInternedString, {