Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Avoid using dyn Path when not necessary #16

Merged
merged 1 commit into from
Oct 6, 2020

Conversation

mkmik
Copy link
Member

@mkmik mkmik commented Oct 5, 2020

Advantage: call to the

Disadvantage: callers need to bring path::Path explicitly in scope.

This seems to be more idiomatic rust code, at least from what I understand
reading https://rust-lang.github.io/rfcs/2113-dyn-trait-syntax.html

Advantage: call to the

Disadvantage: callers need to  bring path::Path explicitly in scope.

This seems to be more idiomatic rust code, at least from what I understand
reading https://rust-lang.github.io/rfcs/2113-dyn-trait-syntax.html
@mkmik mkmik requested a review from glyn October 5, 2020 09:59
@glyn glyn merged commit 31c6896 into jsonpath-standard:main Oct 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants