Both &str and String have a method called is_empty : Documentation for &str:: ... Empty or whitespace only string can be checked with:
確定! 回上一頁