@@ -692,6 +692,7 @@ impl char {
692692     /// // love is many things, but it is not alphabetic 
693693     /// assert!(!c.is_alphabetic()); 
694694     /// ``` 
695+      #[ must_use]  
695696    #[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
696697    #[ inline]  
697698    pub  fn  is_alphabetic ( self )  -> bool  { 
@@ -724,6 +725,7 @@ impl char {
724725     /// assert!(!'中'.is_lowercase()); 
725726     /// assert!(!' '.is_lowercase()); 
726727     /// ``` 
728+      #[ must_use]  
727729    #[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
728730    #[ inline]  
729731    pub  fn  is_lowercase ( self )  -> bool  { 
@@ -756,6 +758,7 @@ impl char {
756758     /// assert!(!'中'.is_uppercase()); 
757759     /// assert!(!' '.is_uppercase()); 
758760     /// ``` 
761+      #[ must_use]  
759762    #[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
760763    #[ inline]  
761764    pub  fn  is_uppercase ( self )  -> bool  { 
@@ -784,6 +787,7 @@ impl char {
784787     /// 
785788     /// assert!(!'越'.is_whitespace()); 
786789     /// ``` 
790+      #[ must_use]  
787791    #[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
788792    #[ inline]  
789793    pub  fn  is_whitespace ( self )  -> bool  { 
@@ -812,6 +816,7 @@ impl char {
812816     /// assert!('و'.is_alphanumeric()); 
813817     /// assert!('藏'.is_alphanumeric()); 
814818     /// ``` 
819+      #[ must_use]  
815820    #[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
816821    #[ inline]  
817822    pub  fn  is_alphanumeric ( self )  -> bool  { 
@@ -837,6 +842,7 @@ impl char {
837842     /// assert!(''.is_control()); 
838843     /// assert!(!'q'.is_control()); 
839844     /// ``` 
845+      #[ must_use]  
840846    #[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
841847    #[ inline]  
842848    pub  fn  is_control ( self )  -> bool  { 
@@ -852,6 +858,7 @@ impl char {
852858     /// [uax29]: https://www.unicode.org/reports/tr29/ 
853859     /// [ucd]: https://www.unicode.org/reports/tr44/ 
854860     /// [`DerivedCoreProperties.txt`]: https://www.unicode.org/Public/UCD/latest/ucd/DerivedCoreProperties.txt 
861+      #[ must_use]  
855862    #[ inline]  
856863    pub ( crate )  fn  is_grapheme_extended ( self )  -> bool  { 
857864        unicode:: Grapheme_Extend ( self ) 
@@ -881,6 +888,7 @@ impl char {
881888     /// assert!(!'و'.is_numeric()); 
882889     /// assert!(!'藏'.is_numeric()); 
883890     /// ``` 
891+      #[ must_use]  
884892    #[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
885893    #[ inline]  
886894    pub  fn  is_numeric ( self )  -> bool  { 
@@ -1060,6 +1068,7 @@ impl char {
10601068     /// assert!(ascii.is_ascii()); 
10611069     /// assert!(!non_ascii.is_ascii()); 
10621070     /// ``` 
1071+      #[ must_use]  
10631072    #[ stable( feature = "ascii_methods_on_intrinsics" ,  since = "1.23.0" ) ]  
10641073    #[ rustc_const_stable( feature = "const_ascii_methods_on_intrinsics" ,  since = "1.32.0" ) ]  
10651074    #[ inline]  
@@ -1237,6 +1246,7 @@ impl char {
12371246     /// assert!(!lf.is_ascii_alphabetic()); 
12381247     /// assert!(!esc.is_ascii_alphabetic()); 
12391248     /// ``` 
1249+      #[ must_use]  
12401250    #[ stable( feature = "ascii_ctype_on_intrinsics" ,  since = "1.24.0" ) ]  
12411251    #[ rustc_const_stable( feature = "const_ascii_ctype_on_intrinsics" ,  since = "1.47.0" ) ]  
12421252    #[ inline]  
@@ -1270,6 +1280,7 @@ impl char {
12701280     /// assert!(!lf.is_ascii_uppercase()); 
12711281     /// assert!(!esc.is_ascii_uppercase()); 
12721282     /// ``` 
1283+      #[ must_use]  
12731284    #[ stable( feature = "ascii_ctype_on_intrinsics" ,  since = "1.24.0" ) ]  
12741285    #[ rustc_const_stable( feature = "const_ascii_ctype_on_intrinsics" ,  since = "1.47.0" ) ]  
12751286    #[ inline]  
@@ -1303,6 +1314,7 @@ impl char {
13031314     /// assert!(!lf.is_ascii_lowercase()); 
13041315     /// assert!(!esc.is_ascii_lowercase()); 
13051316     /// ``` 
1317+      #[ must_use]  
13061318    #[ stable( feature = "ascii_ctype_on_intrinsics" ,  since = "1.24.0" ) ]  
13071319    #[ rustc_const_stable( feature = "const_ascii_ctype_on_intrinsics" ,  since = "1.47.0" ) ]  
13081320    #[ inline]  
@@ -1339,6 +1351,7 @@ impl char {
13391351     /// assert!(!lf.is_ascii_alphanumeric()); 
13401352     /// assert!(!esc.is_ascii_alphanumeric()); 
13411353     /// ``` 
1354+      #[ must_use]  
13421355    #[ stable( feature = "ascii_ctype_on_intrinsics" ,  since = "1.24.0" ) ]  
13431356    #[ rustc_const_stable( feature = "const_ascii_ctype_on_intrinsics" ,  since = "1.47.0" ) ]  
13441357    #[ inline]  
@@ -1372,6 +1385,7 @@ impl char {
13721385     /// assert!(!lf.is_ascii_digit()); 
13731386     /// assert!(!esc.is_ascii_digit()); 
13741387     /// ``` 
1388+      #[ must_use]  
13751389    #[ stable( feature = "ascii_ctype_on_intrinsics" ,  since = "1.24.0" ) ]  
13761390    #[ rustc_const_stable( feature = "const_ascii_ctype_on_intrinsics" ,  since = "1.47.0" ) ]  
13771391    #[ inline]  
@@ -1408,6 +1422,7 @@ impl char {
14081422     /// assert!(!lf.is_ascii_hexdigit()); 
14091423     /// assert!(!esc.is_ascii_hexdigit()); 
14101424     /// ``` 
1425+      #[ must_use]  
14111426    #[ stable( feature = "ascii_ctype_on_intrinsics" ,  since = "1.24.0" ) ]  
14121427    #[ rustc_const_stable( feature = "const_ascii_ctype_on_intrinsics" ,  since = "1.47.0" ) ]  
14131428    #[ inline]  
@@ -1445,6 +1460,7 @@ impl char {
14451460     /// assert!(!lf.is_ascii_punctuation()); 
14461461     /// assert!(!esc.is_ascii_punctuation()); 
14471462     /// ``` 
1463+      #[ must_use]  
14481464    #[ stable( feature = "ascii_ctype_on_intrinsics" ,  since = "1.24.0" ) ]  
14491465    #[ rustc_const_stable( feature = "const_ascii_ctype_on_intrinsics" ,  since = "1.47.0" ) ]  
14501466    #[ inline]  
@@ -1478,6 +1494,7 @@ impl char {
14781494     /// assert!(!lf.is_ascii_graphic()); 
14791495     /// assert!(!esc.is_ascii_graphic()); 
14801496     /// ``` 
1497+      #[ must_use]  
14811498    #[ stable( feature = "ascii_ctype_on_intrinsics" ,  since = "1.24.0" ) ]  
14821499    #[ rustc_const_stable( feature = "const_ascii_ctype_on_intrinsics" ,  since = "1.47.0" ) ]  
14831500    #[ inline]  
@@ -1528,6 +1545,7 @@ impl char {
15281545     /// assert!(lf.is_ascii_whitespace()); 
15291546     /// assert!(!esc.is_ascii_whitespace()); 
15301547     /// ``` 
1548+      #[ must_use]  
15311549    #[ stable( feature = "ascii_ctype_on_intrinsics" ,  since = "1.24.0" ) ]  
15321550    #[ rustc_const_stable( feature = "const_ascii_ctype_on_intrinsics" ,  since = "1.47.0" ) ]  
15331551    #[ inline]  
@@ -1563,6 +1581,7 @@ impl char {
15631581     /// assert!(lf.is_ascii_control()); 
15641582     /// assert!(esc.is_ascii_control()); 
15651583     /// ``` 
1584+      #[ must_use]  
15661585    #[ stable( feature = "ascii_ctype_on_intrinsics" ,  since = "1.24.0" ) ]  
15671586    #[ rustc_const_stable( feature = "const_ascii_ctype_on_intrinsics" ,  since = "1.47.0" ) ]  
15681587    #[ inline]  
0 commit comments