mirror of
https://github.com/NotAShelf/microfetch.git
synced 2025-12-08 14:03:51 +00:00
treewide: fix commonmark formatting in Rustdoc
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ie1a13221aded56f903156fdb35abe2ac6a6a6964
This commit is contained in:
parent
6d6ee838bf
commit
c3a6d1c93c
3 changed files with 14 additions and 5 deletions
|
|
@ -14,7 +14,8 @@ impl UtsName {
|
|||
/// Calls `uname` syscall and returns a `UtsName` wrapper
|
||||
///
|
||||
/// # Errors
|
||||
/// Returns an error if the uname syscall fails
|
||||
///
|
||||
/// Returns an error if the `uname` syscall fails
|
||||
pub fn uname() -> Result<Self, std::io::Error> {
|
||||
let mut uts = MaybeUninit::uninit();
|
||||
if unsafe { libc::uname(uts.as_mut_ptr()) } != 0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue