Commit e6fdbe8f authored by Tamir Duberstein's avatar Tamir Duberstein Committed by Viresh Kumar
Browse files

rust: opp: fix broken rustdoc link



Correct the spelling of "CString" to make the link work.

Fixes: ce32e2d4 ("rust: opp: Add abstractions for the configuration options")
Signed-off-by: default avatarTamir Duberstein <tamird@gmail.com>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 211ddde0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ fn drop(&mut self) {

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)?;