diff options
| author | Philipp Krones <hello@philkrones.com> | 2025-03-12 16:07:47 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-12 16:07:47 +0000 |
| commit | 72540726b145ebeee28383e94d9c2e4f713d3a18 (patch) | |
| tree | 6b380ce0ccc22125c0c1a76863dc8e2e8bf8d4d6 /tests/rustdoc/source-code-pages/source-code-highlight.rs | |
| parent | 0730678e26772342b1477b475205da7da6d47768 (diff) | |
| parent | 417d4e6210d5faf1db8ab872979e223dde7e42b2 (diff) | |
| download | rust-72540726b145ebeee28383e94d9c2e4f713d3a18.tar.gz rust-72540726b145ebeee28383e94d9c2e4f713d3a18.zip | |
`needless_pass_by_value`: reference the innermost `Option` content (#14392)
If types such as `Option<Option<String>>` are not used by value, then `Option<Option<&String>>` will be suggested, instead of `Option<&Option<String>>`. changelog: [`needless_pass_by_value`]: suggest using a reference on the innermost `Option` content fix #14375
Diffstat (limited to 'tests/rustdoc/source-code-pages/source-code-highlight.rs')
0 files changed, 0 insertions, 0 deletions
