[libc-commits] [libc] 392da64 - [libc] Fix documentation typo

Guillaume Chatelet via libc-commits libc-commits at lists.llvm.org
Wed Nov 17 07:17:14 PST 2021


Author: Guillaume Chatelet
Date: 2021-11-17T15:16:05Z
New Revision: 392da6428dba1885b888654c7365198de73661ba

URL: https://github.com/llvm/llvm-project/commit/392da6428dba1885b888654c7365198de73661ba
DIFF: https://github.com/llvm/llvm-project/commit/392da6428dba1885b888654c7365198de73661ba.diff

LOG: [libc] Fix documentation typo

Added: 
    

Modified: 
    libc/src/string/memory_utils/elements.h

Removed: 
    


################################################################################
diff  --git a/libc/src/string/memory_utils/elements.h b/libc/src/string/memory_utils/elements.h
index 63e30baded12b..119e819958972 100644
--- a/libc/src/string/memory_utils/elements.h
+++ b/libc/src/string/memory_utils/elements.h
@@ -24,12 +24,12 @@ namespace __llvm_libc {
 // higher order abstractions. Each function is defined twice: once with
 // fixed-size operations, and once with runtime-size operations.
 
-// Fixed-size copies from 'src' to 'dst'.
+// Fixed-size copy from 'src' to 'dst'.
 template <typename Element>
 void Copy(char *__restrict dst, const char *__restrict src) {
   Element::Copy(dst, src);
 }
-// Runtime-size copies from 'src' to 'dst'.
+// Runtime-size copy from 'src' to 'dst'.
 template <typename Element>
 void Copy(char *__restrict dst, const char *__restrict src, size_t size) {
   Element::Copy(dst, src, size);


        


More information about the libc-commits mailing list