Skip to content
This repository was archived by the owner on Oct 14, 2021. It is now read-only.

Commit 223c160

Browse files
committed
clippy: cleanup structure construction
1 parent b846049 commit 223c160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

starlark/src/values/function.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ impl Function {
134134
{
135135
Value::new(Function {
136136
function: Box::new(f),
137-
signature: signature,
137+
signature,
138138
function_type: FunctionType::Native(name),
139139
})
140140
}

0 commit comments

Comments
 (0)