From 9c0d55788fa6a1bb9c8d5ca26ca4da0fcb7797aa Mon Sep 17 00:00:00 2001 From: Mark Date: Thu, 30 Nov 2023 11:44:20 +0100 Subject: [PATCH] change debug function --- mers_lib/src/program/configs/with_stdio.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mers_lib/src/program/configs/with_stdio.rs b/mers_lib/src/program/configs/with_stdio.rs index 4580c1c..bde449c 100755 --- a/mers_lib/src/program/configs/with_stdio.rs +++ b/mers_lib/src/program/configs/with_stdio.rs @@ -51,7 +51,8 @@ impl Config { info_check: Arc::new(Mutex::new(CheckInfo::neverused())), out: Arc::new(|_a, _i| Ok(Type::empty_tuple())), run: Arc::new(|a, _i| { - eprintln!("{:#?}", a.get()); + let a = a.get(); + eprintln!("{} :: {}", a.as_type(), a); Data::empty_tuple() }), }),