summaryrefslogtreecommitdiff
path: root/src/library/extend.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/extend.rs')
-rw-r--r--src/library/extend.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/extend.rs b/src/library/extend.rs
index e388c9c8..6396274e 100644
--- a/src/library/extend.rs
+++ b/src/library/extend.rs
@@ -7,7 +7,7 @@ use crate::prelude::*;
///
/// # Return value
/// The name of the value's type as a string.
-pub fn type_(ctx: &mut EvalContext, args: &mut Args) -> Value {
+pub fn type_(ctx: &mut EvalContext, args: &mut ValueArgs) -> Value {
if let Some(value) = args.require::<Value>(ctx, "value") {
value.type_name().into()
} else {