Skip to content

Commit

Permalink
style: Secret 类型内部修改
Browse files Browse the repository at this point in the history
  • Loading branch information
tu6ge committed Nov 26, 2024
1 parent 4634199 commit 9aaea9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ impl Key {
}

#[derive(Debug, Clone, PartialEq, Eq)]
pub struct Secret(pub(crate) String);
pub struct Secret(String);

impl Secret {
pub fn new<S: Into<String>>(secret: S) -> Secret {
Expand Down

0 comments on commit 9aaea9c

Please sign in to comment.