Fix clippy warning
This commit is contained in:
parent
85cce35d59
commit
79e88ae9ee
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ impl Key {
|
||||||
|
|
||||||
fn load(path: &Path) -> anyhow::Result<Self> {
|
fn load(path: &Path) -> anyhow::Result<Self> {
|
||||||
let key_data = std::fs::read_to_string(path)?;
|
let key_data = std::fs::read_to_string(path)?;
|
||||||
Self::try_from_base64(&key_data.trim_end())
|
Self::try_from_base64(key_data.trim_end())
|
||||||
}
|
}
|
||||||
|
|
||||||
fn save(&self, path: &Path) -> anyhow::Result<()> {
|
fn save(&self, path: &Path) -> anyhow::Result<()> {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue