mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-27 13:00:57 +00:00
Merge pull request #456 from sinder38/update-ref-doc
Update `ref` documentation
This commit is contained in:
commit
f3201cfb21
@ -90,7 +90,7 @@ Output:
|
||||
Dereferences the given argument.
|
||||
|
||||
```jinja
|
||||
{% let s = String::from("a") | as_ref %}
|
||||
{% let s = String::from("a") | ref %}
|
||||
{% if s | deref == String::from("b") %}
|
||||
{% endif %}
|
||||
```
|
||||
|
@ -127,6 +127,8 @@ give you more in-dept explanations: [docs.rs switching jinja template framework
|
||||
|
||||
* The binary operators `|`, `&` and `^` are now called `bitor`, `bitand` and `xor`, resp.
|
||||
|
||||
* Filter `as_ref` is now just `ref`
|
||||
|
||||
* The feature `"serde-json"` is now called `"serde_json"`.
|
||||
|
||||
* The feature `"markdown"` was removed.
|
||||
|
Loading…
x
Reference in New Issue
Block a user