Answers for "rust test if string is empty"

0

rust test if string is empty

assert_eq!("".is_empty(), true);
assert_eq!(String::new().is_empty(), true);
Posted by: Guest on May-31-2021

Code answers related to "rust test if string is empty"

Browse Popular Code Answers by Language