From cce29e3e3e9f166ab56379cedab0c9fcccd439b6 Mon Sep 17 00:00:00 2001 From: Alexander Tretyak Date: Thu, 1 Feb 2024 18:59:08 +1000 Subject: [PATCH] Fix duplicate utf::as_str8 header in README.md It's a trivial fix, but this mistake is highly conspicuous. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b45f859..73ed78a 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ Converts other UTF strings to `std::string` encoded as UTF-8. If compiled as C++20, the behavior is that of `utf::as_u8`, except for the type of the character used. -### utf::as_str8 +### utf::as_u16 ```cpp std::u16string utf::as_u16(std::u8string_view src); // C++20