]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #82033 - magurotuna:issue82016, r=jyn514
authorYuki Okushi <huyuumi.dev@gmail.com>
Sat, 13 Feb 2021 07:36:48 +0000 (16:36 +0900)
committerGitHub <noreply@github.com>
Sat, 13 Feb 2021 07:36:48 +0000 (16:36 +0900)
Refactor `get_word_attr` to return only `Option`

This commit removes `bool` from the return type of `NestedAttributesExt::get_word_attr` so it will return only `Option<ast::NestedMetaItem>` for less redundancy.

Closes #82016

r? `@jyn514`

1  2 
src/librustdoc/clean/mod.rs
src/librustdoc/clean/types.rs

Simple merge
Simple merge