From 92d3e7fb43e21d01f62a253f92c0704c30ca6e09 Mon Sep 17 00:00:00 2001 From: Yota Toyama Date: Sun, 6 Apr 2025 18:06:15 -0700 Subject: [PATCH] Refactor documentation --- src/cstring.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cstring.rs b/src/cstring.rs index f92fd4dc..1844e233 100644 --- a/src/cstring.rs +++ b/src/cstring.rs @@ -14,7 +14,7 @@ pub struct CString { buf: crate::Vec, } -/// Naive implementation for memchr +/// Naive implementation for `memchr`. /// /// The naive implementation is somewhat competitive to libc's memchr or BurntSushi's optimized /// implementation for tiny slices (as shown by https://gist.github.com/Alexhuszagh/f9929e7d8e0277aa1281f511a841a167),