Minor cleanup

This commit is contained in:
Erick Tryzelaar committed 2015-07-22 10:44:43 -07:00
1 parent 5dae700aec
commit 1751155a3a
3 files changed
+30 -9

No files matched your search

+1 -2
View File
@@ -21,7 +21,6 @@ pub struct FieldAttrs {
}
impl FieldAttrs {
/// Create a FieldAttr with a single default field name
pub fn new(default_value: bool, name: P<ast::Expr>) -> FieldAttrs {
FieldAttrs {
@@ -35,7 +34,7 @@ impl FieldAttrs {
default_value: bool,
default_name: P<ast::Expr>,
formats: HashMap<P<ast::Expr>, P<ast::Expr>>,
) -> FieldAttrs {
) -> FieldAttrs {
FieldAttrs {
names: FieldNames::Format {
formats: formats,