summaryrefslogtreecommitdiff
path: root/src/nibble/cst.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/nibble/cst.rs')
-rw-r--r--src/nibble/cst.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nibble/cst.rs b/src/nibble/cst.rs
index 383eae9..2b52678 100644
--- a/src/nibble/cst.rs
+++ b/src/nibble/cst.rs
@@ -260,7 +260,7 @@ impl File {
);
names.push(stmt.name.clone());
map.push(ast::Function::new(
- stmt.name.clone(),
+ stmt.name.into(),
count,
stmt.expr.convert(&mut context)?,
span,