Skip to content

Conversation

@ascjones
Copy link
Contributor

Copy link
Contributor

@Robbepop Robbepop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cannot believe we forgot about this. Good catch!

@ascjones
Copy link
Contributor Author

I cannot believe we forgot about this. Good catch!

Well, you can thank rustc for the catch.

@ascjones ascjones merged commit 9654989 into master Jun 21, 2021
@ascjones ascjones deleted the aj-vecdeque branch June 21, 2021 10:56
where
T: TypeInfo + 'static,
{
type Identity = Vec<T>;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not type Identity = [T]; here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, it should be this in order that [T], Vec<T> and VecDeque<T> all point to the same type

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was referenced Jun 21, 2021
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.

4 participants