Skip to content

Commit

Permalink
fix(Lesson 04): fixed vertical alignment on Drop Impl slide
Browse files Browse the repository at this point in the history
It was due to misusing the split template.
  • Loading branch information
AurumTheEnd committed Oct 9, 2023
1 parent 1c02a20 commit 733ec80
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions slides/04-data-structures.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,11 @@ trait Drop {

---

<!-- _class: split -->

### Implementace Drop

<!-- _class: split -->
<div class=left-column>

```rust
struct DataHolder {
Expand All @@ -217,14 +219,17 @@ fn main() {
}
```

</div>
<div class=right-column>

```shell
$ cargo run

DataHolders created.
Dropping DataHolder with data `my stuff`!
```


</div>

---

Expand Down

0 comments on commit 733ec80

Please sign in to comment.