Skip to content

Conversation

@manhatsu
Copy link
Contributor

Added new guideline on unions by @rcseacord.

This is the same content as #270 but moved to the feature branch.

@netlify
Copy link

netlify bot commented Dec 16, 2025

Deploy Preview for scrc-coding-guidelines ready!

Name Link
🔨 Latest commit e707e5b
🔍 Latest deploy log https://app.netlify.com/projects/scrc-coding-guidelines/deploys/69418bc2d37d1d0008894872
😎 Deploy Preview https://deploy-preview-300--scrc-coding-guidelines.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@manhatsu manhatsu force-pushed the doc/union-field-validation branch from 9dc2bcd to ea2dcf2 Compare December 16, 2025 03:02
@rcseacord
Copy link
Collaborator

@PLeVasseur @felix91gr I did a final cleanup and this rule LGTM. Please review & approve

@rcseacord rcseacord self-assigned this Dec 16, 2025
Copy link
Contributor

@iglesias iglesias left a comment

Choose a reason for hiding this comment

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

I left a couple of comments. Otherwise it was all clear. One is a question about a line I wasn't sure about and the other just a typo fix suggestion.

| *Rust Unsafe Code Guidelines*, n.d.
| https://rust-lang.github.io/unsafe-code-guidelines/glossary.html#validity-and-safety-invariant.

>>>>>>> c93b2cb (Update types-and-traits.rst):src/coding-guidelines/types-and-traits.rst
Copy link
Contributor

Choose a reason for hiding this comment

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

Can this line be removed? Or is it somehow used as metadata or so?

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.

3 participants