From 2f6d4ea4e147385c5d03d9595942f9678a5fc17d Mon Sep 17 00:00:00 2001 From: primardj Date: Thu, 11 Jan 2024 19:36:18 +0000 Subject: [PATCH] =?UTF-8?q?correction=20Entree.add=5Fstructure,=20j'avais?= =?UTF-8?q?=20oubli=C3=A9=20d'incr=C3=A9menter=20size=20lorsqu'une=20Struc?= =?UTF-8?q?ture=20est=20ajout=C3=A9e.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/parser.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/parser.rs b/src/parser.rs index fc5373e..acf00e0 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -100,6 +100,7 @@ impl Entree { pub fn add_structure(&mut self, structure: Structure) -> i8 { self.inputs.push(structure); + self.size +=1; 0 }