fix: Fix broken build (#453)

The clone optimization PR didn't have the latest changes for "azure_policy".
Integration resulted in compile errors.

Also fix errors due to updated clippy lints.

Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
This commit is contained in:
Anand Krishnamoorthi
2025-08-07 12:52:09 -05:00
committed by GitHub
parent dbba57f499
commit de6aa2bcd1
5 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ impl cmp::Eq for SourceStr {}
impl cmp::PartialOrd for SourceStr {
fn partial_cmp(&self, other: &Self) -> Option<cmp::Ordering> {
Some(self.text().cmp(other.text()))
Some(self.cmp(other))
}
}