Uh oh!
There was an error while loading. Please reload this page.
add if to borrowed ptr tutorial - #4708
Merged
Merged
Conversation
brson
commented
Feb 1, 2013
Contributor
Thanks! |
flip1995 pushed a commit
to flip1995/rust
that referenced
this pull request
Jan 15, 2021
…, r=phansch Catch `pointer::cast` too in `cast_ptr_alignment` Fixesrust-lang#4708 Although there were some discussion in the issue, this PR implements the original feature. I think `cast_ptr_alignment` should exist as it is, separated from `ptr_as_ptr`. --- changelog: Extend `cast_ptr_alignment` lint for the `pointer::cast` method
RalfJung added a commit
to RalfJung/rust
that referenced
this pull request
Nov 30, 2025
README: Tree Borrows no longer implies strict provenance
U007D pushed a commit
to U007D/rust-mos
that referenced
this pull request
Aug 21, 2026
4708: Move run commands to commands.ts r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Just adds a forgotten if.