Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Commit f79240f

Browse files
author
cube
committed
.
1 parent 6eecce9 commit f79240f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/game-of-life/implementing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ encourage you to go learn about hashlife on your own!
759759
};
760760
```
761761

762-
Refactoring Note: Because JavaScript is now getting the Universe via direct memory in wasm, we no longer need the `Display` trait we created earlier, nor the `render()` method, in `lib.rs`. However, if you decide to keep them, the `Display` trait may need to be updated like so:
762+
Refactoring Note: Because JavaScript is now getting the Universe via direct memory in wasm, we no longer need the `Display` trait we created earlier, nor the `render()` method, in `lib.rs`. Furthermore, the `Cell` enum can also be removed. However, if you decide to keep them for other use cases, the `Display` trait will need to be updated like so :
763763

764764
```rust
765765
#[wasm_bindgen]

0 commit comments

Comments
 (0)