Skip to content
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

Correct an example #1940

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Arthur-Milchior
Copy link
Contributor

The function, as written, is not valid. a is not bounded. Given the parameter and the return type, I assume we are considering the identity function for u32. In this case, the return value should be b. As I was touching this code, I considered also changing the function name, for the sake of the clarity.

The function, as written, is not valid. `a` is not bounded. Given the parameter and the return type, I assume we are considering the identity function for u32. In this case, the return value should be `b`.
As I was touching this code, I considered also changing the function name, for the sake of the clarity.
Comment on lines 7 to 9
// ^^ ^early bound
// ^^
// ^^late bound
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also fix the alignment of the ^^s?

@camelid camelid added the waiting-on-author This PR is waiting for additional action by the OP label May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting-on-author This PR is waiting for additional action by the OP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants