Skip to content

Commit

Permalink
Merge pull request #252 from bluescreen303/lifetime-strictness
Browse files Browse the repository at this point in the history
jaq-core/loader: be specific about input parameter for reader
  • Loading branch information
01mf02 authored Jan 6, 2025
2 parents d12b1d4 + 6feec8a commit 97e4e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jaq-core/src/load/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ impl<S, R> Loader<S, PathBuf, R> {
}
}

impl<'s, P: Clone + Eq, R: FnMut(Import<&str, P>) -> ReadResult<P>> Loader<&'s str, P, R> {
impl<'s, P: Clone + Eq, R: FnMut(Import<&'s str, P>) -> ReadResult<P>> Loader<&'s str, P, R> {
/// Load a set of modules, starting from a given file.
pub fn load(
mut self,
Expand Down

0 comments on commit 97e4e5a

Please sign in to comment.