Merge branch 'trunk' into i/2878

This commit is contained in:
Ayaz 2022-04-18 21:46:23 -04:00 committed by GitHub
commit 5188f8f7df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 1381 additions and 861 deletions

View file

@ -711,7 +711,7 @@ impl<'a, T> Collection<'a, T> {
}
}
pub fn with_items(items: &'a [T]) -> Collection<'a, T> {
pub const fn with_items(items: &'a [T]) -> Collection<'a, T> {
Collection {
items,
final_comments: None,