From 86a72c13802efcf67e2ec5debb302fd7ca1049d5 Mon Sep 17 00:00:00 2001 From: fdai7381 Date: Mon, 23 Jan 2023 00:09:38 +0100 Subject: [PATCH] refactoring: make 'try_interpret' private --- src/execute.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/execute.rs b/src/execute.rs index e641bd2..49b6a1a 100644 --- a/src/execute.rs +++ b/src/execute.rs @@ -25,7 +25,7 @@ pub fn interpret(line: String, config: &mut BuiltinConfig, ctrlc_recv: Receiver< } } -pub fn try_interpret( +fn try_interpret( mut line: String, config: &mut BuiltinConfig, ctrlc_recv: Receiver<()>,