Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

bradjc
Copy link
Contributor

@bradjc bradjc commented Oct 10, 2024

Pull Request Overview

This adds comments, formats comments, adds rustdoc links around the kernel::utilities module and Tock registers.

This makes the source files more consistent and improves the generated rustdoc HTML.

Testing Strategy

travis

TODO or Help Wanted

n/a

Documentation Updated

  • Updated the relevant files in /docs, or no updates are required.

Formatting

  • Ran make prepush.

@github-actions github-actions bot added kernel tock-libraries This affects libraries supported by the Tock project and removed documentation labels Oct 10, 2024
/// needed so the debug!() macros have a reference to the object to use.
/// Static variable that holds the kernel's reference to the debug tool.
///
/// This is needed so the debug!() macros have a reference to the object to use.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
/// This is needed so the debug!() macros have a reference to the object to use.
/// This is needed so the `debug!()` macros have a reference to the object to use.

/// are not the same length. This is a non-panicing version of slice::copy_from_slice.
/// Copy a non-overlapping slice from `src` to `self`.
///
/// This is a non-panicing version of [`slice::copy_from_slice`].
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
/// This is a non-panicing version of [`slice::copy_from_slice`].
/// This is a non-panicking version of [`slice::copy_from_slice`].

Add documentation for missing types, add rustdoc links, wrap lines,
format header comments.
@bradjc bradjc force-pushed the kernel-doc-utilities branch from 54c8fd7 to 8262484 Compare October 18, 2024 18:40
@bradjc
Copy link
Contributor Author

bradjc commented Oct 18, 2024

Updated

@lschuermann lschuermann added the last-call Final review period for a pull request. label Oct 20, 2024
@alevy alevy added this pull request to the merge queue Oct 25, 2024
Merged via the queue into master with commit abf7669 Oct 25, 2024
18 checks passed
@alevy alevy deleted the kernel-doc-utilities branch October 25, 2024 19:35
@lschuermann lschuermann mentioned this pull request Jun 27, 2025
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation kernel last-call Final review period for a pull request. tock-libraries This affects libraries supported by the Tock project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants