We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1158370 commit edabc79Copy full SHA for edabc79
idna/src/uts46.rs
@@ -453,7 +453,7 @@ impl Idna {
453
return Errors::default();
454
}
455
let mut errors = processing(domain, self.config, &mut self.normalized, out);
456
- self.output = std::mem::replace(out, String::with_capacity(out.len()));
+ self.output = core::mem::replace(out, String::with_capacity(out.len()));
457
let mut first = true;
458
for label in self.output.split('.') {
459
if !first {
0 commit comments