|
96 | 96 | //! Rust string literals are UTF-8 encoded and thus, not compatible with most
|
97 | 97 | //! UEFI interfaces. We provide [`CStr16`] and [`CString16`] for proper working
|
98 | 98 | //! with UCS-2 strings, including various transformation functions from standard
|
99 | | -//! Rust strings. You can use [`ctr16!`] to create UCS-2 string literals at |
| 99 | +//! Rust strings. You can use [`cstr16!`] to create UCS-2 string literals at |
100 | 100 | //! compile time.
|
101 | 101 | //!
|
102 | 102 | //! ## Tables
|
|
215 | 215 | //! [UEFI]: https://uefi.org/
|
216 | 216 | //! [Zulip]: https://rust-osdev.zulipchat.com
|
217 | 217 | //! [`GlobalAlloc`]: alloc::alloc::GlobalAlloc
|
218 | | -//! [`ctr16!`]: crate::cstr16 |
| 218 | +//! [`cstr16!`]: crate::cstr16 |
219 | 219 | //! [`entry-macro`]: uefi_macros::entry
|
220 | 220 | //! [`r-efi`]: https://crates.io/crates/r-efi
|
221 | 221 | //! [`unsafe_protocol`]: proto::unsafe_protocol
|
|
0 commit comments