std: note that std::str::from_utf8* functions are aliases to <str>::from_utf8* methods#141112
Merged
bors merged 1 commit intorust-lang:masterfrom May 31, 2025
Merged
std: note that std::str::from_utf8* functions are aliases to <str>::from_utf8* methods#141112bors merged 1 commit intorust-lang:masterfrom
std::str::from_utf8* functions are aliases to <str>::from_utf8* methods#141112bors merged 1 commit intorust-lang:masterfrom
Conversation
Collaborator
|
Failed to set assignee to
|
fmease
reviewed
May 17, 2025
std::str::from_utf8* functions are aliases to std::<str>::from_utf8* methodsstd::str::from_utf8* functions are aliases to <str>::from_utf8* methods
Member
Mark-Simulacrum
left a comment
There was a problem hiding this comment.
r=me if the links have to be 'raw'
Member
Author
|
Good suggestions, I change it to rustdoc-generated links, and it works well locally. By the way, how do I get |
Collaborator
|
@xizheyin: 🔑 Insufficient privileges: Not in reviewers |
…<str>::from_utf8*` methods Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
Contributor
|
@bors r=Mark-Simulacrum rollup |
Collaborator
bors
added a commit
that referenced
this pull request
May 31, 2025
Rollup of 8 pull requests Successful merges: - #140787 (Note expr being cast when encounter NonScalar cast error) - #141112 (std: note that `std::str::from_utf8*` functions are aliases to `<str>::from_utf8*` methods) - #141646 (Document what `distcheck` is intended to exercise) - #141740 (Hir item kind field order) - #141793 (`tests/ui`: A New Order [1/N]) - #141805 (Update `compiler-builtins` to 0.1.160) - #141815 (Enable non-leaf Frame Pointers for mingw-w64 Arm64 Windows) - #141819 (Fixes for building windows-gnullvm hosts) r? `@ghost` `@rustbot` modify labels: rollup
scottmcm
reviewed
May 31, 2025
|
|
||
| /// Converts a slice of bytes to a string slice. | ||
| /// | ||
| /// This is an alias to [`str::from_utf8`]. |
Member
There was a problem hiding this comment.
Should these also be marked deprecated in 2.0, so that uses are warned if someone turned on the deprecated in future lint?
github-actions bot
pushed a commit
to model-checking/verify-rust-std
that referenced
this pull request
Jun 3, 2025
…lacrum std: note that `std::str::from_utf8*` functions are aliases to `<str>::from_utf8*` methods Closes rust-lang#141079 r? libs
github-actions bot
pushed a commit
to model-checking/verify-rust-std
that referenced
this pull request
Jun 3, 2025
…iaskrgr Rollup of 8 pull requests Successful merges: - rust-lang#140787 (Note expr being cast when encounter NonScalar cast error) - rust-lang#141112 (std: note that `std::str::from_utf8*` functions are aliases to `<str>::from_utf8*` methods) - rust-lang#141646 (Document what `distcheck` is intended to exercise) - rust-lang#141740 (Hir item kind field order) - rust-lang#141793 (`tests/ui`: A New Order [1/N]) - rust-lang#141805 (Update `compiler-builtins` to 0.1.160) - rust-lang#141815 (Enable non-leaf Frame Pointers for mingw-w64 Arm64 Windows) - rust-lang#141819 (Fixes for building windows-gnullvm hosts) r? `@ghost` `@rustbot` modify labels: rollup
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 free
to 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.
Closes #141079
r? libs