Update doc for sol_memset (#24101)

This commit is contained in:
arusso-certik 2022-04-16 16:11:19 +02:00 committed by GitHub
parent 5c7060eaeb
commit 41a9eb1bf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -69,9 +69,9 @@ pub fn sol_memcmp(s1: &[u8], s2: &[u8], n: usize) -> i32 {
/// Memset
///
/// @param s1 - Slice to be compared
/// @param s2 - Slice to be compared
/// @param n - Number of bytes to compare
/// @param s - Slice to be set
/// @param c - Repeated byte to set
/// @param n - Number of bytes to set
#[inline]
pub fn sol_memset(s: &mut [u8], c: u8, n: usize) {
#[cfg(target_arch = "bpf")]