Fix import in utf8ToAscii example.

This commit is contained in:
Madeorsk 2025-01-08 23:07:41 +01:00
parent 8855636817
commit eac629f456
Signed by: Madeorsk
GPG key ID: 677E51CA765BB79F

View file

@ -22,7 +22,7 @@ std.debug.print("{s}", .{ascii}); // Output: "F".
```zig
const std = @import("std");
const anyascii = @import("anyascii").utf8ToAscii;
const utf8ToAscii = @import("anyascii").utf8ToAscii;
// A full string of UTF-8 characters to ASCII characters.
const ascii = try utf8ToAscii(allocator, "Blöße");