reserve keys 0, 1 and 2 for stdio
This commit is contained in:
@@ -12,7 +12,7 @@ impl Table {
|
||||
pub fn new() -> Self {
|
||||
Table {
|
||||
map: HashMap::new(),
|
||||
next_key: 0,
|
||||
next_key: 3, // 0, 1 and 2 are reserved for stdio
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user