diff options
Diffstat (limited to 'cli/tools/repl/editor.rs')
-rw-r--r-- | cli/tools/repl/editor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/repl/editor.rs b/cli/tools/repl/editor.rs index ea62bd49f..825934b5e 100644 --- a/cli/tools/repl/editor.rs +++ b/cli/tools/repl/editor.rs @@ -70,7 +70,7 @@ impl EditorHelper { self .get_object_expr_properties(object_expr) - .unwrap_or_else(Vec::new) + .unwrap_or_default() } fn get_expression_type(&self, expr: &str) -> Option<String> { |