Update superpowers.md

pull/789/head
Rustln 3 years ago committed by GitHub
parent 70baf840b7
commit a759eb0b38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -70,7 +70,7 @@ fn get_memory_location() -> (usize, usize) {
(pointer, length)
}
// 在定的内存地址读取字符串
// 在定的内存地址读取字符串
fn get_str_at_location(pointer: usize, length: usize) -> &'static str {
unsafe { from_utf8_unchecked(from_raw_parts(pointer as *const u8, length)) }
}

Loading…
Cancel
Save