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

Implement FromBytes::{mut,ref}_from_with_trailing_elements #1237

Merged
merged 1 commit into from
May 10, 2024

Conversation

jswrenn
Copy link
Collaborator

@jswrenn jswrenn commented May 10, 2024

Makes progress on #29

@jswrenn jswrenn enabled auto-merge May 10, 2024 21:03
/// trailing_dst: [()],
/// }
///
/// let src = &[85, 85][..];
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

d'oh

src/lib.rs Outdated
/// ```
///
/// Since an explicit `count` is provided, this method supports types with
/// zero-sided trailing slice elements. Methods such as [`ref_from`]
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
/// zero-sided trailing slice elements. Methods such as [`ref_from`]
/// zero-sized trailing slice elements. Methods such as [`ref_from`]

(And elsewhere while you're at it - looks like a typo snuck in to main)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

src/lib.rs Outdated
/// ```
///
/// Since an explicit `count` is provided, this method supports types with
/// zero-sided trailing slice elements. Methods such as [`mut_from`] which
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
/// zero-sided trailing slice elements. Methods such as [`mut_from`] which
/// zero-sized trailing slice elements. Methods such as [`mut_from`] which

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

@jswrenn jswrenn added this pull request to the merge queue May 10, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks May 10, 2024
@joshlf joshlf added this pull request to the merge queue May 10, 2024
Merged via the queue into main with commit 72796de May 10, 2024
210 checks passed
@joshlf joshlf deleted the frombytes-with-count branch May 10, 2024 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants