From 60c65f9b7dba400979014ef9e29149713780d0fa Mon Sep 17 00:00:00 2001 From: Jamy Golden Date: Wed, 4 Sep 2024 23:20:51 +0200 Subject: [PATCH] Remove unintended stdout prints --- ribboncurls-cli/tests/operation_render.rs | 2 -- ribboncurls/CHANGELOG.md | 6 ++++++ ribboncurls/src/syntax_tree/utils.rs | 1 - 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ribboncurls-cli/tests/operation_render.rs b/ribboncurls-cli/tests/operation_render.rs index c76e7e8..ae97651 100644 --- a/ribboncurls-cli/tests/operation_render.rs +++ b/ribboncurls-cli/tests/operation_render.rs @@ -278,8 +278,6 @@ fn test_operation_render_out() -> Result<()> { ]) .unwrap(); - println!("stdout: {}", stdout); - // ------ // Assert // ------ diff --git a/ribboncurls/CHANGELOG.md b/ribboncurls/CHANGELOG.md index 9c4aead..de76ff4 100644 --- a/ribboncurls/CHANGELOG.md +++ b/ribboncurls/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## Unreleased + +## Fixed + +- Remove unintended stdout prints. + ## 0.4.0 - 2024-09-02 ## Changed diff --git a/ribboncurls/src/syntax_tree/utils.rs b/ribboncurls/src/syntax_tree/utils.rs index d40a844..dd76f33 100644 --- a/ribboncurls/src/syntax_tree/utils.rs +++ b/ribboncurls/src/syntax_tree/utils.rs @@ -146,7 +146,6 @@ pub(crate) fn cleanup_syntax_item_text_newline_and_spacing( fn convert_usize_to_u8(val: usize) -> Result { if val <= u8::MAX as usize { - println!("should be ok"); Ok(val as u8) } else { Err(RibboncurlsError::StringSize)