minidom: Replace std stuff with alloc/core stuff

This commit is contained in:
xmppftw xmppftw 2024-12-19 19:38:21 +01:00 committed by Emmanuel Gil Peyrot
commit 3ebc30c7ab
6 changed files with 23 additions and 16 deletions

View file

@ -40,7 +40,7 @@ impl_into_attribute_values!(
i32,
i16,
i8,
::std::net::IpAddr
::core::net::IpAddr
);
impl IntoAttributeValue for String {
@ -70,8 +70,8 @@ impl<T: IntoAttributeValue> IntoAttributeValue for Option<T> {
#[cfg(test)]
mod tests {
use super::IntoAttributeValue;
use std::net::IpAddr;
use std::str::FromStr;
use core::net::IpAddr;
use core::str::FromStr;
#[test]
fn test_into_attribute_value_on_ints() {