DynamicConfig: use canonical clone impl

This commit is contained in:
Marijn Schouten
2025-09-05 12:31:56 +00:00
parent ad85bc524b
commit a641cfc6f3

View File

@@ -58,7 +58,7 @@ impl<'tcx, C: QueryCache, const ANON: bool, const DEPTH_LIMIT: bool, const FEEDA
for DynamicConfig<'tcx, C, ANON, DEPTH_LIMIT, FEEDABLE>
{
fn clone(&self) -> Self {
DynamicConfig { dynamic: self.dynamic }
*self
}
}