Skip to content

Commit 14eb08e

Browse files
hamirmahalsharkdp
authored andcommitted
refactor: remove reference that's unnecessary
1 parent a26bfed commit 14eb08e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numbat/src/value.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ impl Value {
7070
#[track_caller]
7171
pub fn unsafe_as_function_reference(&self) -> &FunctionReference {
7272
if let Value::FunctionReference(inner) = self {
73-
&inner
73+
inner
7474
} else {
7575
panic!("Expected value to be a string");
7676
}

0 commit comments

Comments
 (0)