Skip to content

Commit e740c7b

Browse files
committed
docs(clippy_utils): Add documentation for ast_utils
1 parent 2badfe8 commit e740c7b

File tree

2 files changed

+58
-5
lines changed

2 files changed

+58
-5
lines changed

clippy_utils/src/ast_utils/ident_iter.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ use rustc_ast::visit::{Visitor, walk_attribute, walk_expr};
33
use rustc_ast::{Attribute, Expr};
44
use rustc_span::symbol::Ident;
55

6+
/// An iterator over identifiers.
67
pub struct IdentIter(std::vec::IntoIter<Ident>);
78

89
impl Iterator for IdentIter {

0 commit comments

Comments
 (0)