diff options
| author | Tamir Duberstein <tamird@gmail.com> | 2025-10-18 15:16:32 -0400 |
|---|---|---|
| committer | Viresh Kumar <viresh.kumar@linaro.org> | 2025-10-22 09:26:20 +0530 |
| commit | e6fdbe8feace22ba54ebcf20d6e200fc97c8e065 (patch) | |
| tree | 24f2a7bf06d2406e9e77d9ed6d99eed878781328 /rust/kernel | |
| parent | 211ddde0823f1442e4ad052a2f30f050145ccada (diff) | |
rust: opp: fix broken rustdoc link
Correct the spelling of "CString" to make the link work.
Fixes: ce32e2d47ce6 ("rust: opp: Add abstractions for the configuration options")
Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'rust/kernel')
| -rw-r--r-- | rust/kernel/opp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/kernel/opp.rs b/rust/kernel/opp.rs index 2c763fa9276d..04472a8de3ff 100644 --- a/rust/kernel/opp.rs +++ b/rust/kernel/opp.rs @@ -87,7 +87,7 @@ use core::{marker::PhantomData, ptr}; use macros::vtable; -/// Creates a null-terminated slice of pointers to [`Cstring`]s. +/// Creates a null-terminated slice of pointers to [`CString`]s. fn to_c_str_array(names: &[CString]) -> Result<KVec<*const u8>> { // Allocated a null-terminated vector of pointers. let mut list = KVec::with_capacity(names.len() + 1, GFP_KERNEL)?; |