Skip to content

Commit adffb1e

Browse files
committed
Format use statements in tests syslog.rs
1 parent a7fd516 commit adffb1e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/log/syslog.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,10 @@ impl Log for Syslog {
105105

106106
#[cfg(test)]
107107
mod tests {
108+
use log::Log;
108109
use std::fmt::Write;
109110

110111
use super::{SysLogWriter, Syslog, FACILITY};
111-
use log::Log;
112112

113113
#[test]
114114
fn can_write_to_syslog() {
@@ -121,7 +121,6 @@ mod tests {
121121
logger.log(&record);
122122
}
123123

124-
125124
#[test]
126125
fn can_handle_multiple_writes() {
127126
let mut writer = SysLogWriter::new(libc::LOG_DEBUG, FACILITY);

0 commit comments

Comments
 (0)