events: Remove needless borrow

This commit is contained in:
Kévin Commaille 2022-07-02 17:50:15 +02:00 committed by Kévin Commaille
parent a4e6081b41
commit efc95da6fa

View File

@ -345,7 +345,7 @@ impl Node {
Ok(())
}
NodeData::Text(ref text) => serializer.write_text(&**text),
NodeData::Text(ref text) => serializer.write_text(text),
_ => Ok(()),
}
}