From e84d1e9dcb2ef6e3d7331c9201ac457077872d77 Mon Sep 17 00:00:00 2001 From: Joshua MacDonald Date: Thu, 10 Oct 2024 16:26:24 -0700 Subject: [PATCH] typo --- text/0257-utf8-handling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text/0257-utf8-handling.md b/text/0257-utf8-handling.md index 7457163a3..4448a7fa5 100644 --- a/text/0257-utf8-handling.md +++ b/text/0257-utf8-handling.md @@ -153,7 +153,7 @@ undefined. When possible, SDKs SHOULD use a built-in library for this repair (for example, [Golang's `strings.ToValidUTF8()`](https://pkg.go.dev/strings#ToValidUTF8) or [Rust's -`String::to_utf8_lossy()`](https://doc.rust-lang.org/std/string/struct.String.html#method.from_utf8_lossy) +`String::from_utf8_lossy()`](https://doc.rust-lang.org/std/string/struct.String.html#method.from_utf8_lossy) satisfy this requirement). #### No byte-slice valued attribute API