Slim down AssociatedTypeBinding by one usize

This commit is contained in:
Lukas Wirth 2023-02-14 17:18:46 +01:00
parent 41db8c2b59
commit 4c2aef650a
6 changed files with 8 additions and 8 deletions

View file

@ -77,7 +77,7 @@ pub struct AssociatedTypeBinding {
/// Bounds for the associated type, like in `Iterator<Item:
/// SomeOtherTrait>`. (This is the unstable `associated_type_bounds`
/// feature.)
pub bounds: Vec<Interned<TypeBound>>,
pub bounds: Box<[Interned<TypeBound>]>,
}
/// A single generic argument.