Skip to content

Commit

Permalink
fix typo/grammatical error in rust.html.markdown (#4985)
Browse files Browse the repository at this point in the history
  • Loading branch information
arynnette committed Jun 25, 2024
1 parent 30edeba commit 0cdd791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0cdd791

Please sign in to comment.