Skip to content

Commit fb7b3ae

Browse files
committed
chore: Default for text::State
1 parent 136418f commit fb7b3ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

promkit/src/core/text/state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use super::Text;
66
///
77
/// This state encapsulates the properties and
88
/// behaviors specific to text handling,
9-
#[derive(Clone)]
9+
#[derive(Clone, Default)]
1010
pub struct State {
1111
/// The text to be rendered.
1212
pub text: Text,

0 commit comments

Comments
 (0)