Explorar el Código

Remove unnecessary return statement

Dirkjan Ochtman hace 5 años
padre
commit
1416aca31d
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  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