Skip to content

create and implement trait Resolve#5

Open
coriolinus wants to merge 2 commits intokurtbuilds:masterfrom
coriolinus:feature/resolve-trait
Open

create and implement trait Resolve#5
coriolinus wants to merge 2 commits intokurtbuilds:masterfrom
coriolinus:feature/resolve-trait

Conversation

@coriolinus
Copy link

This makes it easier to use the various ReferenceOr::<T>::resolve methods in downstream functions which want to operate over any resolvable T.

Also includes a few tiny implementation fixes where improvements could be made. In particular, this swaps out panics for runtime error handling in several places.

There are also several instances where rustfmt made changes without any changes in the semantics of the code.

This makes it easier to use the various `ReferenceOr::<T>::resolve`
methods in downstream functions which want to operate over any
resolvable `T`.

Also includes a few tiny implementation fixes where improvements could be made.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: trait Resolve ReferenceOr<Schema> should probably return a result

1 participant

Comments