You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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.
The text was updated successfully, but these errors were encountered:
whmountains
changed the title
Different a
Different API with VecDeque to get the first and last elements.
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 usesfirst()
andlast()
while VecDeque usesfront()
andback()
.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()
andlast()
methods but I didn't notice. My bad. Sorry to bother everyone.The text was updated successfully, but these errors were encountered: