Skip to content

Commit c2b864c

Browse files
authored
add clone trait to equalizer (#2)
1 parent 662d69f commit c2b864c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ use ratatui::{
8181
/// };
8282
/// equalizer.render(area, &mut buf);
8383
/// ```
84-
#[derive(Debug)]
84+
#[derive(Debug, Clone)]
8585
pub struct Equalizer {
8686
/// A vector of `Band` structs representing each frequency band.
8787
pub bands: Vec<Band>,

0 commit comments

Comments
 (0)