31 lines
524 B
Plaintext
31 lines
524 B
Plaintext
---
|
|
title: "First Post"
|
|
date: "2020.08.13"
|
|
slug: "posts/first-post"
|
|
---
|
|
|
|
New blog
|
|
|
|
The old one looked sussy and it was difficult to read the content
|
|
|
|
This one look simple, 👍👍👍👍👍👍👍👍👍👍👍👍👍👍
|
|
|
|
the challenge is, how to make a good content
|
|
|
|
|
|
```rs
|
|
bubble_sort<T: Ord>(arr: &mut [T]) {
|
|
for i in 0..arr.len() {
|
|
for j in 0..arr.len() - 1 - i {
|
|
if arr[j] > arr [j + 1] {
|
|
arr.swap(j, j + 1);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
`mdx test`
|
|
```
|
|
|
|
|
|
![](../src/assets/images/mm_food_DOOM.png)
|