Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add Validate impl for ScMap and Map ScVal variant that can be invalid #112
Add Validate impl for ScMap and Map ScVal variant that can be invalid #112
Changes from 64 commits
56c26ee
52bdeac
dbf46ff
29f18c9
a9d3fcb
7e70752
9dda60c
5758066
8efa67f
d001854
58dd168
3f56112
6e85b33
489014e
7cfbbfe
d9c09bb
5683979
e03c50a
569bb50
57fae23
b491f48
0d27b30
8593a45
1f2dbba
7605dcc
16224f6
79c6e32
f807c00
b15dc93
b6f53a2
2e16cac
2a33abf
9b9ba4b
33e0143
1509f98
da3bbdd
18c6def
a59e850
dd31ba7
6394429
20b5eb4
e94658f
c4c6870
9a224b3
b3772b6
9d91047
ed0e05c
0390aed
f070022
1f214e1
32ff6bc
def3584
c6c0d9a
60b9528
b2d882f
447fcad
0c0aaa4
896fc2a
4e4ba8e
19dfb0b
dfe469e
7f53fc1
0ed9633
04e5e18
3b63c8a
986e1e6
b8090f2
0626003
b2c753c
f197cbe
529a57a
a1a8d83
94e8097
4c91f59
d16cab4
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might create more flexibility to make this use the Into conversion, or better yet, the TryInto conversion. Using Into instead of From will make it work for types that implement only the Into conversion. Using the Try version will make it work with types that don't offer an errorless conversion, like Vec.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this
.windows
function? Can't find its definition.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The function is https://doc.rust-lang.org/std/primitive.slice.html#method.windows.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah cool!