Reformat the code a bit.

This commit is contained in:
Oleksandr Kozachuk
2022-12-04 00:04:28 +01:00
parent 66acff9884
commit 157bab1d56
4 changed files with 23 additions and 72 deletions
+1 -9
View File
@@ -25,15 +25,7 @@ pub struct Password {
}
impl Password {
pub fn new(
prefix: Prefix,
name: Name,
length: Length,
mode: Mode,
seq: Seq,
date: Date,
comment: Comment,
) -> Password {
pub fn new(prefix: Prefix, name: Name, length: Length, mode: Mode, seq: Seq, date: Date, comment: Comment) -> Password {
Password {
prefix,
name: Rc::new(name),