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