From 2115dbb8f085411d335583eab676d3b0c707d534 Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Tue, 14 Jun 2022 14:31:00 +0200 Subject: [PATCH] Update Rust diary --- diaries/rust.adoc | 4 ++-- diaries/rust/00 - Hello World.adoc | 8 ++++++-- diaries/rust/01 - Cargo.adoc | 8 ++++++-- diaries/rust/02 - Higher-Lower-Spiel.adoc | 8 +++++--- list.json | 4 ++-- 5 files changed, 21 insertions(+), 11 deletions(-) diff --git a/diaries/rust.adoc b/diaries/rust.adoc index cc8cff5..1dc6b3e 100644 --- a/diaries/rust.adoc +++ b/diaries/rust.adoc @@ -1,6 +1,6 @@ :experimental: -:docdatetime: 2022-06-13T13:07:27.205Z +:docdatetime: 2022-06-14T12:21:00.755Z = Learning Rust -My progress documented. The diary is in German. \ No newline at end of file +In this diary I want to document my progress through the https://doc.rust-lang.org/book/[Rust book] and documenting some stuff for myself. \ No newline at end of file diff --git a/diaries/rust/00 - Hello World.adoc b/diaries/rust/00 - Hello World.adoc index 026b78c..8214593 100644 --- a/diaries/rust/00 - Hello World.adoc +++ b/diaries/rust/00 - Hello World.adoc @@ -1,7 +1,11 @@ :experimental: -:docdatetime: 2022-06-13T13:07:27.205Z +:docdatetime: 2022-06-14T12:26:06.567Z -== Hello world += Hello world + +_https://doc.rust-lang.org/book/ch01-02-hello-world.html[Link zum Buch]_ | _Diese Seite ist aus einem https://jupyter.org/[Jupyter Notebook] exportiert_. + +== How to `println!` Hello world ist relativ einfach. `println!` ist ein Makro (eine spezielle Art Funktion?), die einfach auf stdout printed. diff --git a/diaries/rust/01 - Cargo.adoc b/diaries/rust/01 - Cargo.adoc index 5b421ce..ea60b4d 100644 --- a/diaries/rust/01 - Cargo.adoc +++ b/diaries/rust/01 - Cargo.adoc @@ -1,7 +1,11 @@ :experimental: -:docdatetime: 2022-06-13T13:07:27.205Z +:docdatetime: 2022-06-14T12:26:06.567Z -== Cargo += Cargo + +_https://doc.rust-lang.org/book/ch01-03-hello-cargo.html[Link zum Buch]_ | _Diese Seite ist aus einem https://jupyter.org/[Jupyter Notebook] exportiert_. + +== Was ist Cargo? Cargo ist Rusts package manager. + Um ein neues Cargo-Projekt zu erstellen, braucht es das folgende diff --git a/diaries/rust/02 - Higher-Lower-Spiel.adoc b/diaries/rust/02 - Higher-Lower-Spiel.adoc index d048f4e..19bac9c 100644 --- a/diaries/rust/02 - Higher-Lower-Spiel.adoc +++ b/diaries/rust/02 - Higher-Lower-Spiel.adoc @@ -1,9 +1,11 @@ :experimental: -:docdatetime: 2022-06-13T13:07:27.205Z +:docdatetime: 2022-06-14T12:27:14.473Z -== Erstes Spiel += Erstes Spiel -=== Projekt erstellen +_https://doc.rust-lang.org/book/ch02-00-guessing-game-tutorial.html[Link zum Buch]_ | _Diese Seite ist aus einem https://jupyter.org/[Jupyter Notebook] exportiert_. + +== Projekt erstellen Das Projekt wird wie in Notebook 01 beschrieben erstellt. diff --git a/list.json b/list.json index 6db23cb..9f202e5 100644 --- a/list.json +++ b/list.json @@ -32,8 +32,8 @@ "short_desc": "Me learning Rust (German).", "desc": [ "I documented my progress to lern the Rust programming language.", - "The pages are exported from a #{jupyter notebook|https://jupyter.org/}, which I use to follow the Rust book.", - "Everything is in German as these are my own notes." + "It follows the #%{Rust book|https://doc.rust-lang.org/book/} with my own annotations.", + "Everything is in German as these notes are mostly meant for me." ], "entries": [ { "title": "00 - Hello World", "filename": "00 - Hello World"},