From ff16bfef49a17c61dcd7581efb558cb27de9182f Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 11 Sep 2024 16:24:23 +0300 Subject: [PATCH 1/2] Update advanced-strings.md Link to the docs we're telling them to read. --- training-slides/src/advanced-strings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/training-slides/src/advanced-strings.md b/training-slides/src/advanced-strings.md index f6b5aca..e23874d 100644 --- a/training-slides/src/advanced-strings.md +++ b/training-slides/src/advanced-strings.md @@ -109,7 +109,7 @@ These types represent valid C compatible strings. They are predominantly used when doing FFI with external code. -It is strongly recommended you read *all* of the documentation on these types before using them. +It is strongly recommended you read *all* of the [documentation](https://doc.rust-lang.org/std/ffi/struct.CString.html) on these types before using them. ## Common String Tasks From 7ce48427e132d853c0878d3c6d4b37fa4d335045 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 18 Sep 2024 17:17:40 +0300 Subject: [PATCH 2/2] Update training-slides/src/advanced-strings.md Co-authored-by: Jonathan Pallant --- training-slides/src/advanced-strings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/training-slides/src/advanced-strings.md b/training-slides/src/advanced-strings.md index e23874d..84d36f8 100644 --- a/training-slides/src/advanced-strings.md +++ b/training-slides/src/advanced-strings.md @@ -109,7 +109,7 @@ These types represent valid C compatible strings. They are predominantly used when doing FFI with external code. -It is strongly recommended you read *all* of the [documentation](https://doc.rust-lang.org/std/ffi/struct.CString.html) on these types before using them. +It is strongly recommended you read *all* of the [documentation](https://doc.rust-lang.org/std/ffi/index.html) on these types before using them. ## Common String Tasks