Skip to content

Commit

Permalink
rust lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf committed Apr 16, 2024
1 parent 19a2b1f commit 8a8170b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/re_types_builder/src/docs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ impl Docs {
pub fn first_line(&self) -> Option<&str> {
self.lines_with_tag_matching(|t| t.is_empty())
.first()
.map(|&line| line)
.copied()
}

/// Get all doc lines that are untagged, or match the given tag.
Expand Down

0 comments on commit 8a8170b

Please sign in to comment.