Skip to content

Commit

Permalink
Merge pull request #6 from Kab1r/main
Browse files Browse the repository at this point in the history
Derive `Clone` trait for `Sqids` struct
  • Loading branch information
4kimov authored Feb 29, 2024
2 parents 7e95e2d + 0a31506 commit 0a1e370
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 0a1e370

Please sign in to comment.