all integer sizes are available as primitives

* fix wrong implicit cast for `@IntType` bit_count parameter.
 * fix incorrect docs for `@IntType` bit_count parameter.

closes #1242
closes #745
closes #1240
This commit is contained in:
Andrew Kelley
2018-07-16 10:53:15 -04:00
parent 363f4facea
commit e9a03cccf3
17 changed files with 74 additions and 104 deletions

View File

@@ -5,8 +5,6 @@ const Allocator = mem.Allocator;
const assert = debug.assert;
const ArrayList = std.ArrayList;
const fmt = std.fmt;
/// A buffer that allocates memory and maintains a null byte at the end.
pub const Buffer = struct {
list: ArrayList(u8),