🧑💻 Passes fmt and clippy checks
This commit is contained in:
parent
5b9a53cbc6
commit
d786ea1052
3 changed files with 4 additions and 10 deletions
|
|
@ -101,10 +101,7 @@ impl PoweredBy {
|
|||
|
||||
#[fn_builder]
|
||||
pub fn alter_copyright(&mut self, copyright: Option<impl Into<String>>) -> &mut Self {
|
||||
self.copyright = match copyright {
|
||||
Some(c) => Some(c.into()),
|
||||
_ => None,
|
||||
};
|
||||
self.copyright = copyright.map(|c| c.into());
|
||||
self
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue