Skip to content

Commit 8712aaf

Browse files
committed
thanks clippy
1 parent a5ba202 commit 8712aaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gix-submodule/src/access.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ impl File {
181181
.sections_by_name("submodule")
182182
.into_iter()
183183
.flatten()
184-
.any(|s| (s.header().subsection_name() == Some(name) && !std::ptr::eq(s.meta(), ours)));
184+
.any(|s| s.header().subsection_name() == Some(name) && !std::ptr::eq(s.meta(), ours));
185185
if !has_value_from_foreign_section {
186186
return Err(config::update::Error::CommandForbiddenInModulesConfiguration {
187187
submodule: name.to_owned(),

0 commit comments

Comments
 (0)