Skip to content

Commit

Permalink
Support Context::from for Value.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiji-flo committed Sep 30, 2018
1 parent 0d43975 commit f6858e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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.5.3"
version = "0.5.4"
authors = ["Florian Merz <flomerz@gmail.com>"]
description = "The Golang Templating Language for Rust"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ seamless integration of Rust application into the world of devops tools around
Add the following dependency to your Cargo manifest…
```toml
[dependencies]
gtmpl = "0.5.2"
gtmpl = "0.5.4"
```

and look at the docs:
Expand Down
2 changes: 1 addition & 1 deletion src/exec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ impl Context {
where
T: Into<Value>,
{
let serialized = Value::from(value);
let serialized: Value = value.into();
Ok(Context { dot: serialized })
}
}
Expand Down

0 comments on commit f6858e9

Please sign in to comment.