Add use a::b::{c, mod}; to the manual#16537
Merged
Conversation
src/doc/rust.md
Outdated
Contributor
There was a problem hiding this comment.
This should be std::collections::hashmap::{mod, HashMap} unless I'm missing something.
Contributor
|
Thanks for adding this! I would like another reviewer to confirm the grammar is correct, though. |
bors
added a commit
that referenced
this pull request
Aug 17, 2014
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Feb 18, 2024
internal: tool discovery prefers sysroot tools Fixes rust-lang/rust-analyzer#15927, Fixes rust-lang/rust-analyzer#16523 After this PR we will look for `cargo` and `rustc` in the sysroot if it was succesfully loaded instead of using the current lookup scheme. This should be more correct than the current approach as that relies on the working directory of the server binary or loade workspace, meaning it can behave a bit odd wrt overrides. Additionally, rust-project.json projects now get the target data layout set so there should be better const eval support now.
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.
No description provided.