Skip to content

Commit

Permalink
30: try to fix two-column
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarrison committed Feb 15, 2024
1 parent 5c311f2 commit 4bd0b9d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions 30_CCQ/main.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,9 @@ $ pip install -e . --no-build-isolation

## nanobind struct
- Can get complicated and verbose with custom types

<div class="two-column">
<div class="grid-item">
<div class="grid-item" width="40%">

```c++
struct S {
Expand All @@ -205,7 +206,7 @@ std::ostream & operator<<(std::ostream &out, S const & s) {
```
</div>
<div class="grid-item">
<div class="grid-item" width="40%">
```c++
NB_MODULE(struct_example_module, m) {
Expand Down

0 comments on commit 4bd0b9d

Please sign in to comment.