Skip to content

Commit

Permalink
nit. cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusl committed Dec 18, 2023
1 parent 5e4ca4c commit cbb17c4
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/config/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,14 @@ impl<'a> CompoundMetadataConfig<'a> {
}
Ok(None)
}

/// Returns a configured scriptlet,
///
pub(super) fn get_scriptlet(&self, name: &str, content: impl Into<String>) -> Result<Option<Scriptlet>, ConfigError> {

/// Returns a configured scriptlet,
///
pub(super) fn get_scriptlet(
&self,
name: &str,
content: impl Into<String>,
) -> Result<Option<Scriptlet>, ConfigError> {
let flags_key = format!("{name}_flags");
let prog_key = format!("{name}_prog");

Expand Down

0 comments on commit cbb17c4

Please sign in to comment.