Skip to content

Commit

Permalink
make substitute public
Browse files Browse the repository at this point in the history
  • Loading branch information
brianshih1 authored and thundergolfer committed Oct 31, 2024
1 parent fa81b40 commit baf77b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ fn is_registry(token: &str) -> bool {
/// 16.
/// If None is returned, substitution was impossible, either because a
/// referenced variable did not exist, or recursion depth was exceeded.
fn substitute<'a, 'b>(
pub fn substitute<'a, 'b>(
s: &'a str,
vars: &'b HashMap<&'b str, &'b str>,
used_vars: &mut HashSet<String>,
Expand Down

0 comments on commit baf77b5

Please sign in to comment.