Skip to content
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

Remove unused bounds and PhantomData from any and all #707

Closed
wants to merge 1 commit into from

Conversation

sgrif
Copy link
Member

@sgrif sgrif commented Feb 15, 2017

The phantom data was just plain unneccessary. It was either an oversight
or a bug in older rust versions where SqlType=Array<ST> didn't count
as the type being constrained. The HasSqlType constraints are
sufficiently covered elsewhere (and frankly, I'm fairly certain that
trait is useless and can be removed). It should be noted that we don't
have a compile-test covering that case though, as pg is the only backend
with additional types.

The phantom data was just plain unneccessary. It was either an oversight
or a bug in older rust versions where `SqlType=Array<ST>` didn't count
as the type being constrained. The `HasSqlType` constraints are
sufficiently covered elsewhere (and frankly, I'm fairly certain that
trait is useless and can be removed). It should be noted that we don't
have a compile-test covering that case though, as pg is the only backend
with additional types.
@sgrif sgrif requested a review from killercup February 15, 2017 14:04
@sgrif
Copy link
Member Author

sgrif commented Feb 15, 2017

Rolled up into #709

@sgrif sgrif closed this Feb 15, 2017
@pksunkara pksunkara deleted the sg-clean-up-any-all branch February 28, 2023 19:12
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.

1 participant