Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Different API with VecDeque to get the first and last elements. #65

Closed
whmountains opened this issue Apr 19, 2019 · 0 comments
Closed

Comments

@whmountains
Copy link

whmountains commented Apr 19, 2019

@gnzlbg you mentioned in #57 that you wanted to maintain a similar API with std::collections::VecDeque. The biggest difference I've noticed so far is that SliceDeque uses first() and last() while VecDeque uses front() and back().

NOTE: Somehow this got posted unfinished and I had to edit into shape. Sorry for the confusion!

EDIT: looks like SliceDeque actually already has first() and last() methods but I didn't notice. My bad. Sorry to bother everyone.

@whmountains whmountains changed the title Different a Different API with VecDeque to get the first and last elements. Apr 19, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant