Skip to content

Commit 29cfc6d

Browse files
diamant3nicholasbishop
authored andcommitted
fix typo ctr16! to cstr16!
1 parent 580f3d8 commit 29cfc6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

uefi/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
//! Rust string literals are UTF-8 encoded and thus, not compatible with most
9797
//! UEFI interfaces. We provide [`CStr16`] and [`CString16`] for proper working
9898
//! 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
100100
//! compile time.
101101
//!
102102
//! ## Tables
@@ -215,7 +215,7 @@
215215
//! [UEFI]: https://uefi.org/
216216
//! [Zulip]: https://rust-osdev.zulipchat.com
217217
//! [`GlobalAlloc`]: alloc::alloc::GlobalAlloc
218-
//! [`ctr16!`]: crate::cstr16
218+
//! [`cstr16!`]: crate::cstr16
219219
//! [`entry-macro`]: uefi_macros::entry
220220
//! [`r-efi`]: https://crates.io/crates/r-efi
221221
//! [`unsafe_protocol`]: proto::unsafe_protocol

0 commit comments

Comments
 (0)