-
Notifications
You must be signed in to change notification settings - Fork 34
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
docs: make Rust docs consistent #497
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for contracts-stylus canceled.
|
I also added * mark befor each event |
@DarkLord017 you should also fix the failing CI |
Okay |
1 similar comment
Okay |
You can review it now |
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.
Great job @DarkLord017.
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.
LGTM
Thank you ! |
/// NOTE: The ERC-1155 acceptance check is not performed in this function. | ||
/// See [`Self::_update_with_acceptance_check`] instead. | ||
/// |
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.
👍
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.
You did a great job @DarkLord017 , most of the comments I left are related to fine-tuning the details of the original issue requirements.
Sometimes we notice the changes we want to make only once the PR is created.
/// | ||
/// # Panics | ||
/// | ||
/// Should not panic. | ||
/// * Should not panic. |
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.
/// * Should not panic. | |
/// Should not panic. |
nit: there is nothing to list.
/// # Panics | ||
/// | ||
/// Should not panic. | ||
/// * Should not panic. |
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.
@bidzyyys @qalisander should we even have the # Panics
section for non-panicking functions?
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.
I think it should be pointless. Make sense to remove it
Co-authored-by: Nenad <[email protected]>
Resolves #476
PR Checklist