Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
MiSawa committed Mar 26, 2022
1 parent 87badb2 commit 91868ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/about/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fn main() -> Result<()> {
.zip(resolved.iter())
.filter_map(|(l, r)| r.as_ref().map(|r| (l, r)))
{
for diagnostic in &resolved.diagnostics {
if let Some(diagnostic) = resolved.diagnostics.iter().next() {
bail!(
"Diagnostics about license of crate {}: {}",
krate.krate,
Expand Down

0 comments on commit 91868ca

Please sign in to comment.