xso: fix build without std
This commit is contained in:
parent
8f47c9d2ca
commit
fe0050dbd8
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ impl<T: AsXml> fmt::Display for PrintRawXml<'_, T> {
|
|||
}
|
||||
// TODO: rxml guarantees us that we have utf8 here. This unwrap can nonetheless be removed
|
||||
// if Write is implemented for rxml.
|
||||
write!(f, "{}", std::str::from_utf8(&buf).unwrap())
|
||||
write!(f, "{}", core::str::from_utf8(&buf).unwrap())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue