Explorar el Código

idna: propagate error from write_str() call

Dirkjan Ochtman hace 6 años
padre
commit
94e2a87795
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      idna/src/uts46.rs

+ 1 - 1
idna/src/uts46.rs

@@ -524,7 +524,7 @@ impl fmt::Display for Errors {
             if i > 0 {
                 f.write_str(", ")?;
             }
-            f.write_str(err.as_str());
+            f.write_str(err.as_str())?;
         }
         Ok(())
     }