Skip to content

Commit

Permalink
Comment corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
lrubasze committed Dec 19, 2024
1 parent ee40f4b commit 26d83dd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions radix-engine-tests/assets/blueprints/logger/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ mod logger {
}

// This function tests the logging macros.
// If the respective log level is enabled, the macro arguments will be
// ignored (even if an argument is an expression that mutates data or has side effects).
// If the respective log level is disabled, the macro arguments will still be
// visible to development tools, but no action will be performed at runtime
// (even if an argument is an expression that mutates data or has side effects).
pub fn mutate_input_if_log_level_enabled(level: Level, number: String) -> u8 {
let mut number = number.parse::<u8>().unwrap();
match level {
Expand Down

0 comments on commit 26d83dd

Please sign in to comment.