diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-01-13 21:33:22 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-01-13 21:33:22 +0100 |
| commit | 1b53e27f270e3c040ee095573af9a5243980191a (patch) | |
| tree | 3ed3e3d17b35cb04ded50a38331438468b61063e /src/eval | |
| parent | c36a136e6f26ac99e58465ad072c282fe6dbaedf (diff) | |
Some minor improvements ♻
Diffstat (limited to 'src/eval')
| -rw-r--r-- | src/eval/call.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval/call.rs b/src/eval/call.rs index a2387a17..f47ee847 100644 --- a/src/eval/call.rs +++ b/src/eval/call.rs @@ -102,7 +102,7 @@ impl Args { /// Convert and remove the value for the given named argument, producing an /// error if the conversion fails. - pub fn get<'a, T>(&mut self, ctx: &mut EvalContext, name: &str) -> Option<T> + pub fn get<T>(&mut self, ctx: &mut EvalContext, name: &str) -> Option<T> where T: Cast<Spanned<Value>>, { |
