mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2025-03-14 02:16:10 +00:00
Mutable, formatting
This commit is contained in:
parent
27c6801b64
commit
0ee89a2144
2 changed files with 2 additions and 3 deletions
|
@ -87,8 +87,7 @@ pub struct InputLog {
|
|||
|
||||
impl PartialEq for InputLog {
|
||||
fn eq(&self, other: &Self) -> bool {
|
||||
self.frames == other.frames &&
|
||||
!self.is_different(other)
|
||||
self.frames == other.frames && !self.is_different(other)
|
||||
}
|
||||
}
|
||||
impl Eq for InputLog {}
|
||||
|
|
|
@ -182,7 +182,7 @@ pub unsafe fn draw(root_pane: &Pane) {
|
|||
if drawn_logs_ptr.is_null() {
|
||||
return;
|
||||
}
|
||||
let drawn_logs = &*drawn_logs_ptr;
|
||||
let drawn_logs = &mut *drawn_logs_ptr;
|
||||
|
||||
for (log_idx, log) in logs.iter().enumerate() {
|
||||
draw_log(root_pane, log_idx, log, &mut drawn_logs[log_idx]);
|
||||
|
|
Loading…
Add table
Reference in a new issue