Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
gememma committed Jan 10, 2025
1 parent 34d5951 commit 64265cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mirrord/config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ impl LayerConfig {
.map_err(|error| ConfigError::EnvVarDecodeError(error.to_string()))?;
let serialized = std::str::from_utf8(&decoded)
.map_err(|error| ConfigError::EnvVarDecodeError(error.to_string()))?;
Ok(serde_json::from_str::<Self>(&serialized)?)
Ok(serde_json::from_str::<Self>(serialized)?)
}

pub fn to_env_var(&self) -> Result<String, ConfigError> {
Expand Down

0 comments on commit 64265cd

Please sign in to comment.