[libc] Fix documentation typo

This commit is contained in:
Guillaume Chatelet 2021-11-17 15:10:56 +00:00
parent ddf2d62c7d
commit 392da6428d
1 changed files with 2 additions and 2 deletions
libc/src/string/memory_utils

View File

@ -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);