From 10451febc7c06435d4999797524a48d47162ae34 Mon Sep 17 00:00:00 2001 From: Nikita Sivukhin Date: Sun, 14 Jan 2024 11:33:00 +0400 Subject: [PATCH] fix title --- find-slice-element-position-in-rust.dj | 2 +- find-slice-element-position-in-rust.html | 6 +++--- index.html | 2 +- index_all.html | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/find-slice-element-position-in-rust.dj b/find-slice-element-position-in-rust.dj index 8da3c00..86af2c0 100644 --- a/find-slice-element-position-in-rust.dj +++ b/find-slice-element-position-in-rust.dj @@ -1,5 +1,5 @@ {date="2024/01/13"} -# Find slice element position in Rust +# Find slice element position in Rust, fast! I started to learn `Rust` only recently and while exploring [slice methods][] I was a bit surprised that I didn't find any method for finding the position of element in the slice: diff --git a/find-slice-element-position-in-rust.html b/find-slice-element-position-in-rust.html index 145e043..9b1e564 100644 --- a/find-slice-element-position-in-rust.html +++ b/find-slice-element-position-in-rust.html @@ -4,7 +4,7 @@ - Find slice element position in Rust + Find slice element position in Rust, fast! @@ -15,8 +15,8 @@

naming is hard

-
-

Find slice element position in Rust

+
+

Find slice element position in Rust, fast!

I started to learn Rust only recently and while exploring slice methods I was a bit surprised that I didn’t find any method for finding the position of element in the slice:

fn find(haystack: &[u8], needle: u8) -> Option<usize> { ... }
 
diff --git a/index.html b/index.html index 454662f..166845c 100644 --- a/index.html +++ b/index.html @@ -21,7 +21,7 @@

about