MCPcopy Create free account
hub / github.com/distil/diffus / variant_changed

Function variant_changed

diffus/src/diffable_impls/option.rs:32–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30
31 #[test]
32 fn variant_changed() {
33 if let Some(enm::Edit::VariantChanged(&None, &Some(3))) = None.diff(&Some(3)).change() {
34 } else {
35 unreachable!();
36 }
37 }
38
39 #[test]
40 fn associate_change() {

Callers

nothing calls this directly

Calls 2

changeMethod · 0.45
diffMethod · 0.45

Tested by

no test coverage detected