This commit is contained in:
Andrew Kelley
2019-11-25 13:51:09 -05:00
parent 8a4c2d3b07
commit bdf3680be1
15 changed files with 58 additions and 22 deletions

View File

@@ -58,7 +58,7 @@ pub fn AlignedArrayList(comptime T: type, comptime alignment: ?u29) type {
return self.items[0..self.len];
}
/// Safely access index i of the list.
/// Safely access index i of the list.
pub fn at(self: Self, i: usize) T {
return self.toSliceConst()[i];
}