-
-
Notifications
You must be signed in to change notification settings - Fork 379
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
Can K
in Tree::Range
be made ?Sized
?
#1497
Comments
Rafferty97
added a commit
to Rafferty97/sled
that referenced
this issue
Feb 11, 2024
…ange` and related methods.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The signature of this method is currently:
I am wondering if there is any harm in adding
?Sized
to the type parameterK
, as follows:I have a type for which I have implemented
std::ops::RangeBounds<[u8]>
, however I can't use it as a parameter to therange
method due to[u8]
being an unsized type, even though that shouldn't be an issue as it's only ever used in its borrowed form&[u8]
.The text was updated successfully, but these errors were encountered: