Skip to content

Commit

Permalink
Expose Context.clone(...) method to external crates (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkmcc authored Feb 8, 2024
1 parent f4fa854 commit 9246fb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interpreter/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl<'a> Context<'a> {
Value::resolve_all(exprs, self)
}

pub(crate) fn clone(&self) -> Context {
pub fn clone(&self) -> Context {
Context::Child {
parent: self,
variables: Default::default(),
Expand Down

0 comments on commit 9246fb3

Please sign in to comment.