Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
Remove build_ from some attr builders
Browse files Browse the repository at this point in the history
  • Loading branch information
erickt committed Mar 15, 2015
1 parent 80d65e7 commit ccfc651
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/attr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,35 +76,35 @@ impl<F> AttrBuilder<F>
self.word("test")
}

pub fn build_allow<I, T>(self, iter: I) -> F::Result
pub fn allow<I, T>(self, iter: I) -> F::Result
where I: IntoIterator<Item=T>,
T: ToInternedString,
{
self.list("allow").words(iter).build()
}

pub fn build_warn<I, T>(self, iter: I) -> F::Result
pub fn warn<I, T>(self, iter: I) -> F::Result
where I: IntoIterator<Item=T>,
T: ToInternedString,
{
self.list("warn").words(iter).build()
}

pub fn build_deny<I, T>(self, iter: I) -> F::Result
pub fn deny<I, T>(self, iter: I) -> F::Result
where I: IntoIterator<Item=T>,
T: ToInternedString,
{
self.list("deny").words(iter).build()
}

pub fn build_features<I, T>(self, iter: I) -> F::Result
pub fn features<I, T>(self, iter: I) -> F::Result
where I: IntoIterator<Item=T>,
T: ToInternedString,
{
self.list("feature").words(iter).build()
}

pub fn build_plugins<I, T>(self, iter: I) -> F::Result
pub fn plugins<I, T>(self, iter: I) -> F::Result
where I: IntoIterator<Item=T>,
T: ToInternedString,
{
Expand Down

0 comments on commit ccfc651

Please sign in to comment.