print the value as a formatted string

This commit is contained in:
amtoine 2023-02-23 13:02:26 +01:00
parent 471ce95b5b
commit 2927d70fcc
No known key found for this signature in database
GPG key ID: 37AAE9B486CFF1AB

View file

@ -213,7 +213,7 @@ fn get_documentation(
match &example.result {
Some(result) => {
let _ = write!(long_desc, "{:#?}\n", result);
let _ = write!(long_desc, " {}\n", result.into_string(" ", engine_state.get_config()));
}
None => {
let _ = write!(long_desc, " {WD}...{RESET}\n");