Skip to content

Commit

Permalink
feat: derive Clone trait for Sqids struct
Browse files Browse the repository at this point in the history
  • Loading branch information
Kab1r committed Jan 26, 2024
1 parent 7e95e2d commit 0a31506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ impl Default for Options {
}

/// A generator for sqids.
#[derive(Debug, Builder)]
#[derive(Clone, Debug, Builder)]
#[builder(build_fn(skip, error = "Error"), pattern = "owned")]
pub struct Sqids {
/// The alphabet that is being used when generating sqids.
Expand Down

0 comments on commit 0a31506

Please sign in to comment.