Skip to content

Add documentation for Bitv. #13836

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

Merged
merged 1 commit into from
May 7, 2014
Merged

Add documentation for Bitv. #13836

merged 1 commit into from
May 7, 2014

Conversation

jbcrail
Copy link
Contributor

@jbcrail jbcrail commented Apr 29, 2014

No description provided.

* Creates an empty Bitv that holds `nbits` elements
*
* Sets each element to `init`
*/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our predominant documentation style is three slashes, could you change this to that?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps this could gain an example as well?

@alexcrichton
Copy link
Member

Could you rebase the two commits into one? Also feel free to ping the PR whenever you update it, sadly none of us get notifications when you do!

@jbcrail
Copy link
Contributor Author

jbcrail commented May 7, 2014

Thanks for the tip about pinging after an update. I'm new to contributing and I try not to ping too much. I rebased the two commits into one as asked.

@jbcrail jbcrail closed this May 7, 2014
@jbcrail jbcrail reopened this May 7, 2014
@bors bors closed this May 7, 2014
@bors bors merged commit 2fc3b3a into rust-lang:master May 7, 2014
@jbcrail jbcrail deleted the add-bitv-doc branch May 7, 2014 14:52
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 13, 2023
…hanged, r=Veykril

fix: consider relative offset to fake ident token in expansion for completion

Fixes rust-lang#13836

When we check if the offset of fake ident token is out of bounds in the "actual expansion" (i.e. expansion without the fake ident token), we should take relative offset to it into account to match [how we'd get token after expansion](https://github.com/rust-lang/rust-analyzer/blob/f1b257f4eb4fef74b42fd7135d1cf3884e8b51c9/crates/ide-completion/src/context/analysis.rs#L53-L54).
flip1995 pushed a commit to flip1995/rust that referenced this pull request Dec 26, 2024
…3836)

fix rust-lang#11524

In a `no_std` environment, we can use `core::cmp::Reverse` instead of
`std::cmp::Reverse`.

----

changelog: [`unnecessary_sort_by`]: correct suggestion in `no_std`
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