aboutsummaryrefslogtreecommitdiff
path: root/content/articles/2022-08-29-blog-test.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/articles/2022-08-29-blog-test.md')
-rw-r--r--content/articles/2022-08-29-blog-test.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/content/articles/2022-08-29-blog-test.md b/content/articles/2022-08-29-blog-test.md
index cdbeab0..1c4a28a 100644
--- a/content/articles/2022-08-29-blog-test.md
+++ b/content/articles/2022-08-29-blog-test.md
@@ -11,15 +11,23 @@ _italic_ **bold** `code` [Link](https://metamuffin.org/)
Look at this code here.
```rs
+#[derive(Default)]
struct Impossible<T> {
something: HashMap<usize, T>,
+ // ^- look here, a keyword! --the grammar regex
itself: Impossible,
}
pub async fn useless(s: Box<dyn Write>) -> impl Future<usize> {
todo!() // this panics
}
-fn main() { 1 + "blub" }
+fn main() {
+ 1 + "blub"
+ for (x, y) in [(1,2),(3,4)] {
+ println!("{x} and {y}");
+ Impossible::default();
+ }
+}
```
As you can see, its pointless i.e. no points