Skip to content

Commit

Permalink
fix gtmpl_fn macro
Browse files Browse the repository at this point in the history
  • Loading branch information
fiji-flo committed Nov 18, 2017
1 parent 9d45683 commit e1f4a76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gtmpl"
version = "0.2.0"
version = "0.2.1"
authors = ["Florian Merz <flomerz@gmail.com>"]
description = "The Golang Templating Language for Rust"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/funcs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ macro_rules! gtmpl_fn {
};
(
$(#[$outer:meta])*
fn $name:ident($arg0:ident : $typ0:ty$(, $arg:ident : $typ:ty),*) -> Result<$otyp:ty, String>
fn $name:ident($arg0:ident : $typ0:ty$(, $arg:ident : $typ:ty)*) -> Result<$otyp:ty, String>
{ $($body:tt)* }
) => {
$(#[$outer])*
Expand Down

0 comments on commit e1f4a76

Please sign in to comment.