add Default implementation for Text

This commit is contained in:
yggverse 2024-11-15 22:20:02 +02:00
parent 1d4dc50380
commit af7aaa63e4

View file

@ -19,6 +19,12 @@ pub struct Text {
data: GString,
}
impl Default for Text {
fn default() -> Self {
Self::new()
}
}
impl Text {
// Constructors