[libc-commits] [libc] [libc] tiny fix for doc (PR #80512)

Schrodinger ZHU Yifan via libc-commits libc-commits at lists.llvm.org
Fri Feb 2 17:33:30 PST 2024


https://github.com/SchrodingerZhu updated https://github.com/llvm/llvm-project/pull/80512

>From 32a306cd531e3e60a400eb7da6b3e7efd8ed1776 Mon Sep 17 00:00:00 2001
From: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: Fri, 2 Feb 2024 18:58:46 -0500
Subject: [PATCH 1/2] [libc] tiny fix for doc

---
 libc/docs/search.rst | 2 +-
 libc/docs/stdbit.rst | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libc/docs/search.rst b/libc/docs/search.rst
index 4233bfa8a7197..ff6a41911d3d6 100644
--- a/libc/docs/search.rst
+++ b/libc/docs/search.rst
@@ -8,7 +8,7 @@ Search Tables
 Source Location
 ---------------
 
--   The main source for bitwise utility functions is located at:
+-   The main source for search functions is located at:
     ``libc/src/search``.
 
 -   Hashtable implementation is located at:
diff --git a/libc/docs/stdbit.rst b/libc/docs/stdbit.rst
index 2dd91107dcc45..4f242d21f8b84 100644
--- a/libc/docs/stdbit.rst
+++ b/libc/docs/stdbit.rst
@@ -5,7 +5,7 @@ Bitwise Utility Functions
 .. include:: check.rst
 
 ---------------
-Source location
+Source Location
 ---------------
 
 -   The main source for bitwise utility functions is located at:

>From f2c971b40f66d3472916a07a3217fdda7cffc4b8 Mon Sep 17 00:00:00 2001
From: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: Fri, 2 Feb 2024 20:33:16 -0500
Subject: [PATCH 2/2] [libc] rename search

---
 libc/docs/index.rst                       | 2 +-
 libc/docs/{search.rst => libc_search.rst} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename libc/docs/{search.rst => libc_search.rst} (100%)

diff --git a/libc/docs/index.rst b/libc/docs/index.rst
index 0d72c1651457d..7655cb9ccd711 100644
--- a/libc/docs/index.rst
+++ b/libc/docs/index.rst
@@ -66,7 +66,7 @@ stages there is no ABI stability in any form.
    strings
    stdio
    stdbit
-   search
+   libc_search
 
 .. toctree::
    :hidden:
diff --git a/libc/docs/search.rst b/libc/docs/libc_search.rst
similarity index 100%
rename from libc/docs/search.rst
rename to libc/docs/libc_search.rst



More information about the libc-commits mailing list