Skip to content

Conversation

jp0317
Copy link

@jp0317 jp0317 commented Dec 12, 2024

Add overflow checking when getting field id based on field delta.

@fishy fishy added the rust label Dec 12, 2024
@Jens-G
Copy link
Member

Jens-G commented Feb 28, 2025

Sth is not right here

 error: use of `ok_or` followed by a function call

@jp0317
Copy link
Author

jp0317 commented Feb 28, 2025

yeah, it's should be fine to use ok_or there. this seems to be a false alarm (found a similar issue here)

@Jens-G
Copy link
Member

Jens-G commented Mar 1, 2025

Maybe but it breaks the build.

@jimexist
Copy link
Member

ok or else saves one allocation, it's trivial to change to that

@Jens-G
Copy link
Member

Jens-G commented Apr 18, 2025

trivial to change to that

Seems not the case ... or is it? 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants