about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-01-07 13:24:58 +0000
committerGitHub <noreply@github.com>2022-01-07 13:24:58 +0000
commitc09504bd58db6fb59595af1b0e42eb04de35a3bf (patch)
treed1467a450b821afb4258dcc382e8fe2f35c1984f /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parent2fb6f5e46a5f53a78c2f750dd3c8e79dd418c4c9 (diff)
parent1b5c60f5491d8f992d89734e3027d5ba01fabfab (diff)
downloadrust-c09504bd58db6fb59595af1b0e42eb04de35a3bf.tar.gz
rust-c09504bd58db6fb59595af1b0e42eb04de35a3bf.zip
Merge #11194
11194: fix(gen-doc-assist): remove lifetimes in description of `new` r=Veykril a=numero-744

From wrong behavior:

```rust
/// Creates a new [`MyGenericStruct<'a, T>`].
```

to correct behavior:

```rust
/// Creates a new [`MyGenericStruct<T>`].
```

But I feel like there is a better way to implement it. Do you know if there is an existing function that could do the work of `lifetimes_removed()` below?

Co-authored-by: Côme ALLART <come.allart@etu.emse.fr>
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions