Skip to content

Commit

Permalink
add doc comment;
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat committed Sep 22, 2023
1 parent 4d09d26 commit d1b0e56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ergotree-ir/src/mir/collection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ impl Collection {
}
}

/// Create a collection from a vector of booleans
pub fn from_bools(bools: Vec<bool>) -> Self {
Collection::BoolConstants(bools)
}
Expand Down

0 comments on commit d1b0e56

Please sign in to comment.