Skip to content

Commit 1cadebe

Browse files
committed
style: fmt
1 parent 596280b commit 1cadebe

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/syslog.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ use std::ptr;
1010
/// argument specifies logging options. The `facility` parameter encodes a default facility to be
1111
/// assigned to all messages that do not have an explicit facility encoded.
1212
//
13-
// On Linux, the `ident` argument needs to have static lifetime according to the
13+
// On Linux, the `ident` argument needs to have static lifetime according to the
1414
// man page:
15-
//
16-
// The argument ident in the call of openlog() is probably stored as-is. Thus,
15+
//
16+
// The argument ident in the call of openlog() is probably stored as-is. Thus,
1717
// if the string it points to is changed, syslog() may start prepending the changed
18-
// string, and if the string it points to ceases to exist, the results are
18+
// string, and if the string it points to ceases to exist, the results are
1919
// undefined. Most portable is to use a string constant.
2020
#[cfg(target_os = "linux")]
2121
pub fn openlog(
@@ -33,7 +33,7 @@ pub fn openlog(
3333
libc::openlog(ident.as_ptr(), logopt, facility);
3434
})?,
3535
}
36-
36+
3737
Ok(())
3838
}
3939

@@ -58,7 +58,7 @@ pub fn openlog<S: AsRef<OsStr> + ?Sized>(
5858
libc::openlog(ident.as_ptr(), logopt, facility);
5959
})?,
6060
}
61-
61+
6262
Ok(())
6363
}
6464

0 commit comments

Comments
 (0)