summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorary <75646364+arynnette@users.noreply.github.com>2024-06-25 04:03:23 -0400
committerGitHub <noreply@github.com>2024-06-25 10:03:23 +0200
commit0cdd791b9fe95a9fd3435a8af37dc20d6f5216df (patch)
treec0290d8de0c535241647799114a8356d17653467
parent30edebae889893e1b657b1a2326576450f2f56d4 (diff)
fix typo/grammatical error in rust.html.markdown (#4985)
-rw-r--r--rust.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust.html.markdown b/rust.html.markdown
index 421124be..11483eef 100644
--- a/rust.html.markdown
+++ b/rust.html.markdown
@@ -99,7 +99,7 @@ fn main() {
// A string slice – an immutable view into another string
// This is basically an immutable pair of pointers to a string – it doesn’t
// actually contain the contents of a string, just a pointer to
- // the begin and a pointer to the end of a string buffer,
+ // the beginning and a pointer to the end of a string buffer,
// statically allocated or contained in another object (in this case, `s`).
// The string slice is like a view `&[u8]` into `Vec<T>`.
let s_slice: &str = &s;