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

Minimise unsafe block size, in examples #2591

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

Rua
Copy link
Contributor

@Rua Rua commented Oct 23, 2024

Trying to minimise the size of unsafe blocks to contain only the unsafe operation and nothing else. I believe this is the preferred practice in Rust, and I notice that @marc0246 does it that way too.

This is for the examples, the rest will follow later.

@marc0246
Copy link
Contributor

Thank you 🙏

@marc0246 marc0246 merged commit 6da1f96 into vulkano-rs:master Oct 23, 2024
6 checks passed
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.

2 participants