From 293495720cc84ea3fe2af55537c350f0a3964792 Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Wed, 11 May 2022 11:35:49 +0000 Subject: [PATCH] feat: disable nesting by default --- --- a/primitives/data-structs/src/lib.rs +++ b/primitives/data-structs/src/lib.rs @@ -426,7 +426,7 @@ } } pub fn nesting_rule(&self) -> &NestingRule { - static DEFAULT: NestingRule = NestingRule::Owner; + static DEFAULT: NestingRule = NestingRule::Disabled; self.nesting_rule.as_ref().unwrap_or(&DEFAULT) } } -- gitstuff