Skip to content

Commit cb0e2e7

Browse files
authored
Merge pull request #103 from kbvernon/fix-broken-img
bug: incorrect asset co-location
2 parents d3d4764 + 358e09d commit cb0e2e7

4 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Identifying whether a number is odd or even is a classic example. The [is-odd
2929
npm package](https://www.npmjs.com/package/is-odd) became famous for being a
3030
remarkably small and widely depended-upon piece of code:
3131

32-
<img src="/rust-intro/images/is-odd.png" width="70%" fig-align="center"/>
32+
<img src="is-odd.png" class="w-8/10 mx-auto my-8"/>
3333

3434
Here is the Rust equivalent. We define `is_even()` first, taking an `i32` and
3535
returning a `bool`, then use it inside `is_odd()`:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Identifying whether a number is odd or even is a classic example. The [is-odd
2626
npm package](https://www.npmjs.com/package/is-odd) became famous for being a
2727
remarkably small and widely depended-upon piece of code:
2828

29-
![](/rust-intro/images/is-odd.png){width=70% fig-align="center"}
29+
![](is-odd.png){class="w-8/10 mx-auto my-8"}
3030

3131
Here is the Rust equivalent. We define `is_even()` first, taking an `i32` and
3232
returning a `bool`, then use it inside `is_odd()`:
File renamed without changes.

images/is-odd.png

-332 KB
Binary file not shown.

0 commit comments

Comments
 (0)