-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Debug
supertype to iri
parameter in get
function of Loader
trait
#169
Comments
Just to clarify: your suggestion is to change the declaration of fn get<T: Borrow<str>>(
&self,
iri: Iri<T>
) -> Result<(Vec<u8>, String), LoaderError>; to fn get<T: Borrow<str> + Debug>( // <-- added "+ Debug" here
&self,
iri: Iri<T>
) -> Result<(Vec<u8>, String), LoaderError>; right? I'm guessing that you are encountering issues when generating a log or error message, because something like Given that |
Addung either I needed just two owned values of |
Sorry, I think I initially read the body of your issue too quickly. The immediate solution to your problem is to use I understand that it was tempting to use |
The text was updated successfully, but these errors were encountered: