Przeglądaj źródła

Remove unnecessary return statement

Dirkjan Ochtman 5 lat temu
rodzic
commit
1416aca31d
1 zmienionych plików z 0 dodań i 1 usunięć
  1. 0 1
      idna/src/uts46.rs

+ 0 - 1
idna/src/uts46.rs

@@ -309,7 +309,6 @@ fn check_validity(label: &str, config: Config, errors: &mut Errors) {
         _ => true,
     }) {
         errors.invalid_mapping = true;
-        return;
     }
 
     // V7: ContextJ rules