conjure-cp / conjure-oxide

Mozilla Public License 2.0
9 stars 16 forks source link

When to use metadata.clone(), metadata.clone_dirty(), Metadata::new() #413

Closed niklasdewally closed 2 weeks ago

niklasdewally commented 3 weeks ago

@YehorBoiar @lixitrixi @ozgurakgun

ozgurakgun commented 2 weeks ago

I think creating a dirty metadata is the safe thing to do.

niklasdewally commented 2 weeks ago

I think creating a dirty metadata is the safe thing to do.

I think the rewriter makes things dirty itself for me, so clone_dirty() and clone() work the same functionally.