Fix section creation.

This commit is contained in:
4lDO2
2023-10-26 11:33:13 +02:00
parent fe7244a8cd
commit cfe153eb85
2 changed files with 46 additions and 19 deletions
+2 -2
View File
@@ -26,12 +26,12 @@ impl Log {
}
pub fn write(&mut self, buf: &[u8]) {
for &b in buf {
/*for &b in buf {
while self.data.len() + 1 >= self.size {
self.data.pop_front();
}
self.data.push_back(b);
}
}*/
}
}