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

Docs: You probably mean continue #9247

Closed
wants to merge 1 commit into from
Closed

Docs: You probably mean continue #9247

wants to merge 1 commit into from

Conversation

Hoverbear
Copy link
Contributor

Looks like in the context of this doc you should have continue instead of loop... Since it's current state is a bit irrational.

@steveklabnik
Copy link
Member

👍

@thestinger
Copy link
Contributor

Rust actually reuses the loop statement for this.

@thestinger
Copy link
Contributor

(it did used to have continue but it was removed)

@thestinger thestinger closed this Sep 17, 2013
Jarcho pushed a commit to Jarcho/rust that referenced this pull request Aug 31, 2022
…exendoo

New lint: Raw slice pointer cast

Adds a lint to check for a raw slice being created and cast back to a pointer, suggesting `ptr::slice_from_raw_parts`, to identify UB such as thomcc/rust-typed-arena#54.
```
changelog: [`cast_slice_from_raw_parts`]: Add lint to check for `slice::from_raw_parts(.., ..) as *const _`
```
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