Make more functions const.

This commit is contained in:
Stephen Chung
2021-06-29 23:17:31 +08:00
parent bd35999b75
commit fc349f67f8
6 changed files with 14 additions and 14 deletions

View File

@@ -68,7 +68,7 @@ impl<'a> State<'a> {
) -> Self {
Self {
changed: false,
variables: vec![],
variables: Vec::new(),
propagate_constants: true,
engine,
lib,