Skip to content

Commit e6fdbe8

Browse files
tamirdvireshk
authored andcommitted
rust: opp: fix broken rustdoc link
Correct the spelling of "CString" to make the link work. Fixes: ce32e2d ("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>
1 parent 211ddde commit e6fdbe8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/kernel/opp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ use core::{marker::PhantomData, ptr};
8787

8888
use macros::vtable;
8989

90-
/// Creates a null-terminated slice of pointers to [`Cstring`]s.
90+
/// Creates a null-terminated slice of pointers to [`CString`]s.
9191
fn to_c_str_array(names: &[CString]) -> Result<KVec<*const u8>> {
9292
// Allocated a null-terminated vector of pointers.
9393
let mut list = KVec::with_capacity(names.len() + 1, GFP_KERNEL)?;

0 commit comments

Comments
 (0)