1
1
mirror of https://github.com/Byron/gitoxide synced 2025-10-06 01:52:40 +02:00

thanks clippy

This commit is contained in:
Sebastian Thiel
2025-07-29 19:23:00 +02:00
parent a5ba202f6f
commit 8712aafc2f

View File

@@ -181,7 +181,7 @@ impl File {
.sections_by_name("submodule")
.into_iter()
.flatten()
.any(|s| (s.header().subsection_name() == Some(name) && !std::ptr::eq(s.meta(), ours)));
.any(|s| s.header().subsection_name() == Some(name) && !std::ptr::eq(s.meta(), ours));
if !has_value_from_foreign_section {
return Err(config::update::Error::CommandForbiddenInModulesConfiguration {
submodule: name.to_owned(),