Skip to content

Conversation

alexcrichton
Copy link
Member

Fixing some of rustdoc's rendering to use newer syntaxes rather than older
syntaxes.

Fixing some of rustdoc's rendering to use newer syntaxes rather than older
syntaxes.
bors added a commit that referenced this pull request Jun 17, 2014
Fixing some of rustdoc's rendering to use newer syntaxes rather than older
syntaxes.
@bors bors closed this Jun 17, 2014
@bors bors merged commit 7b42e38 into rust-lang:master Jun 17, 2014
@alexcrichton alexcrichton deleted the rustdoc-fixups branch June 18, 2014 05:59
bors pushed a commit to rust-lang-ci/rust that referenced this pull request Aug 7, 2023
bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 7, 2023
bugfix :  skip doc(hidden) default members

fixes  rust-lang#14957 . I have two questions :

1.  I am definitely looking for a more idiomatic way for the things I added in `crates/ide-assists/src/utils.rs`. See `FIXME` in that file.
2. Would it be actually better to change `DefaultMethods` to something like

```rust
enum DefaultMethods {
     Only( IgnoreHidden ( bool ) ) ,
     None
}
```

instead of adding a boolean to every function that calls `crates/ide-assists/src/utils.rs::filter_assoc_items`
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jun 13, 2025
…lang#14957)

`clippy_lints::casts::utils::int_ty_to_nbits` used to return `0` to
indicate that the argument was not an integral type. It is more
idiomatic to use `Option<u64>` as a return type.

Also, I've added a few `FIXME:` at places where only `f32` and `f64` are
considered, as we now have `f16` and `f128` to deal with.

changelog: none
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.

2 participants