From 2175dbba27508165462cd50bc0edd6816f5e0331 Mon Sep 17 00:00:00 2001 From: Arjun Aditya <73933669+nermalcat69@users.noreply.github.com> Date: Thu, 30 Nov 2023 08:50:27 +0000 Subject: [PATCH 1/9] fix: better link (as its mentioned as "in the standard library documentation") --- src/ch02-00-guessing-game-tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch02-00-guessing-game-tutorial.md b/src/ch02-00-guessing-game-tutorial.md index 5e27fb114d..cebdee1fe5 100644 --- a/src/ch02-00-guessing-game-tutorial.md +++ b/src/ch02-00-guessing-game-tutorial.md @@ -917,7 +917,7 @@ types, and functions, and shows how to use them in Rust. Chapter 4 explores ownership, a feature that makes Rust different from other languages. Chapter 5 discusses structs and method syntax, and Chapter 6 explains how enums work. -[prelude]: ../std/prelude/index.html +[prelude]: ../std/index.html [variables-and-mutability]: ch03-01-variables-and-mutability.html#variables-and-mutability [comments]: ch03-04-comments.html [string]: ../std/string/struct.String.html From 8446345346b7054a7adcfff8c7790c3f29fc3ce5 Mon Sep 17 00:00:00 2001 From: Arjun Aditya <73933669+nermalcat69@users.noreply.github.com> Date: Thu, 30 Nov 2023 08:56:55 +0000 Subject: [PATCH 2/9] fix: added a new link [stdlib] --- src/ch02-00-guessing-game-tutorial.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ch02-00-guessing-game-tutorial.md b/src/ch02-00-guessing-game-tutorial.md index cebdee1fe5..61d7d3c849 100644 --- a/src/ch02-00-guessing-game-tutorial.md +++ b/src/ch02-00-guessing-game-tutorial.md @@ -92,8 +92,8 @@ library, known as `std`: ``` By default, Rust has a set of items defined in the standard library that it -brings into the scope of every program. This set is called the *prelude*, and -you can see everything in it [in the standard library documentation][prelude]. +brings into the scope of every program. This set is called the [*prelude*](prelude), and +you can see everything in it [in the standard library documentation][stdlib]. If a type you want to use isn’t in the prelude, you have to bring that type into scope explicitly with a `use` statement. Using the `std::io` library @@ -917,7 +917,8 @@ types, and functions, and shows how to use them in Rust. Chapter 4 explores ownership, a feature that makes Rust different from other languages. Chapter 5 discusses structs and method syntax, and Chapter 6 explains how enums work. -[prelude]: ../std/index.html +[prelude]: ../std/prelude/index.html +[stdlib]: ../std/index.html [variables-and-mutability]: ch03-01-variables-and-mutability.html#variables-and-mutability [comments]: ch03-04-comments.html [string]: ../std/string/struct.String.html From 253a714382fd17e718bfacdcc162a6197e6abb3b Mon Sep 17 00:00:00 2001 From: Arjun Aditya <73933669+nermalcat69@users.noreply.github.com> Date: Mon, 4 Dec 2023 09:52:38 +0000 Subject: [PATCH 3/9] fix: broken link --- src/ch02-00-guessing-game-tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch02-00-guessing-game-tutorial.md b/src/ch02-00-guessing-game-tutorial.md index 61d7d3c849..4b74ef7633 100644 --- a/src/ch02-00-guessing-game-tutorial.md +++ b/src/ch02-00-guessing-game-tutorial.md @@ -918,7 +918,6 @@ ownership, a feature that makes Rust different from other languages. Chapter 5 discusses structs and method syntax, and Chapter 6 explains how enums work. [prelude]: ../std/prelude/index.html -[stdlib]: ../std/index.html [variables-and-mutability]: ch03-01-variables-and-mutability.html#variables-and-mutability [comments]: ch03-04-comments.html [string]: ../std/string/struct.String.html @@ -937,3 +936,4 @@ discusses structs and method syntax, and Chapter 6 explains how enums work. [shadowing]: ch03-01-variables-and-mutability.html#shadowing [parse]: ../std/primitive.str.html#method.parse [integers]: ch03-02-data-types.html#integer-types +[stdlib]: ../std/index.html \ No newline at end of file From 627deaabf4dbf71fc0b768586278793659b7b273 Mon Sep 17 00:00:00 2001 From: Arjun Aditya <73933669+nermalcat69@users.noreply.github.com> Date: Mon, 4 Dec 2023 09:53:15 +0000 Subject: [PATCH 4/9] fix: markdown syntax --- src/ch02-00-guessing-game-tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch02-00-guessing-game-tutorial.md b/src/ch02-00-guessing-game-tutorial.md index 4b74ef7633..5670b1096a 100644 --- a/src/ch02-00-guessing-game-tutorial.md +++ b/src/ch02-00-guessing-game-tutorial.md @@ -93,7 +93,7 @@ library, known as `std`: By default, Rust has a set of items defined in the standard library that it brings into the scope of every program. This set is called the [*prelude*](prelude), and -you can see everything in it [in the standard library documentation][stdlib]. +you can see everything in it [in the standard library documentation](stdlib). If a type you want to use isn’t in the prelude, you have to bring that type into scope explicitly with a `use` statement. Using the `std::io` library From 64c3b25fbf5daaa3760784202478624148eca923 Mon Sep 17 00:00:00 2001 From: Arjun Aditya <73933669+nermalcat69@users.noreply.github.com> Date: Mon, 4 Dec 2023 09:55:54 +0000 Subject: [PATCH 5/9] fix: fixing failing --- src/ch02-00-guessing-game-tutorial.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ch02-00-guessing-game-tutorial.md b/src/ch02-00-guessing-game-tutorial.md index 5670b1096a..01451a2a04 100644 --- a/src/ch02-00-guessing-game-tutorial.md +++ b/src/ch02-00-guessing-game-tutorial.md @@ -92,8 +92,8 @@ library, known as `std`: ``` By default, Rust has a set of items defined in the standard library that it -brings into the scope of every program. This set is called the [*prelude*](prelude), and -you can see everything in it [in the standard library documentation](stdlib). +brings into the scope of every program. This set is called the [prelude](prelude), and +you can see everything in it [in the standard library documentation](stdlib) . If a type you want to use isn’t in the prelude, you have to bring that type into scope explicitly with a `use` statement. Using the `std::io` library From 989ce96d8353e25371ec8f9f5c65f4cef5f60475 Mon Sep 17 00:00:00 2001 From: Arjun Aditya <73933669+nermalcat69@users.noreply.github.com> Date: Mon, 4 Dec 2023 09:57:20 +0000 Subject: [PATCH 6/9] fix: standardlib --- src/ch02-00-guessing-game-tutorial.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ch02-00-guessing-game-tutorial.md b/src/ch02-00-guessing-game-tutorial.md index 01451a2a04..9e66c0b752 100644 --- a/src/ch02-00-guessing-game-tutorial.md +++ b/src/ch02-00-guessing-game-tutorial.md @@ -93,7 +93,7 @@ library, known as `std`: By default, Rust has a set of items defined in the standard library that it brings into the scope of every program. This set is called the [prelude](prelude), and -you can see everything in it [in the standard library documentation](stdlib) . +you can see everything in it [in the standard library documentation](standardlib) . If a type you want to use isn’t in the prelude, you have to bring that type into scope explicitly with a `use` statement. Using the `std::io` library @@ -936,4 +936,4 @@ discusses structs and method syntax, and Chapter 6 explains how enums work. [shadowing]: ch03-01-variables-and-mutability.html#shadowing [parse]: ../std/primitive.str.html#method.parse [integers]: ch03-02-data-types.html#integer-types -[stdlib]: ../std/index.html \ No newline at end of file +[standardlib]: ../std/index.html \ No newline at end of file From 0cfb228d4687cc78d47e6f6926de6509161ff8db Mon Sep 17 00:00:00 2001 From: Arjun Aditya <73933669+nermalcat69@users.noreply.github.com> Date: Mon, 4 Dec 2023 10:20:44 +0000 Subject: [PATCH 7/9] fix: link error --- src/ch02-00-guessing-game-tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch02-00-guessing-game-tutorial.md b/src/ch02-00-guessing-game-tutorial.md index 9e66c0b752..a25d5811f8 100644 --- a/src/ch02-00-guessing-game-tutorial.md +++ b/src/ch02-00-guessing-game-tutorial.md @@ -93,7 +93,7 @@ library, known as `std`: By default, Rust has a set of items defined in the standard library that it brings into the scope of every program. This set is called the [prelude](prelude), and -you can see everything in it [in the standard library documentation](standardlib) . +you can see everything in it in the [standard library](standardlib) documentation . If a type you want to use isn’t in the prelude, you have to bring that type into scope explicitly with a `use` statement. Using the `std::io` library From 006ab84f6560a563e995e3aef82c9b8be7f8f65d Mon Sep 17 00:00:00 2001 From: Arjun Aditya <73933669+nermalcat69@users.noreply.github.com> Date: Mon, 4 Dec 2023 10:22:24 +0000 Subject: [PATCH 8/9] fix: link error --- src/ch02-00-guessing-game-tutorial.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ch02-00-guessing-game-tutorial.md b/src/ch02-00-guessing-game-tutorial.md index a25d5811f8..d794fec739 100644 --- a/src/ch02-00-guessing-game-tutorial.md +++ b/src/ch02-00-guessing-game-tutorial.md @@ -92,8 +92,8 @@ library, known as `std`: ``` By default, Rust has a set of items defined in the standard library that it -brings into the scope of every program. This set is called the [prelude](prelude), and -you can see everything in it in the [standard library](standardlib) documentation . +brings into the scope of every program. This set is called the [prelude][prelude], and +you can see everything in it in the [standard library][standardlib] documentation . If a type you want to use isn’t in the prelude, you have to bring that type into scope explicitly with a `use` statement. Using the `std::io` library From 554d3662a3c7e3a1d81ecca55634a1ee47f4f95c Mon Sep 17 00:00:00 2001 From: Arjun Aditya <73933669+nermalcat69@users.noreply.github.com> Date: Mon, 4 Dec 2023 10:25:19 +0000 Subject: [PATCH 9/9] fix: link error --- src/ch02-00-guessing-game-tutorial.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ch02-00-guessing-game-tutorial.md b/src/ch02-00-guessing-game-tutorial.md index d794fec739..39bd11c704 100644 --- a/src/ch02-00-guessing-game-tutorial.md +++ b/src/ch02-00-guessing-game-tutorial.md @@ -93,7 +93,8 @@ library, known as `std`: By default, Rust has a set of items defined in the standard library that it brings into the scope of every program. This set is called the [prelude][prelude], and -you can see everything in it in the [standard library][standardlib] documentation . +you can see everything in it in the [standard library] +(../std/index.html) documentation . If a type you want to use isn’t in the prelude, you have to bring that type into scope explicitly with a `use` statement. Using the `std::io` library @@ -935,5 +936,4 @@ discusses structs and method syntax, and Chapter 6 explains how enums work. [match]: ch06-02-match.html [shadowing]: ch03-01-variables-and-mutability.html#shadowing [parse]: ../std/primitive.str.html#method.parse -[integers]: ch03-02-data-types.html#integer-types -[standardlib]: ../std/index.html \ No newline at end of file +[integers]: ch03-02-data-types.html#integer-types \ No newline at end of file