diff --git a/.gitignore b/.gitignore index 378eac2..8629dcf 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ build +target +Cargo.lock diff --git a/src/lib.rs b/src/lib.rs index 94dd5ad..90f8010 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -17,7 +17,7 @@ //! fn main() { //! match syslog::unix(Facility::LOG_USER) { //! Err(e) => println!("impossible to connect to syslog: {:?}", e), -//! Ok(mut writer) => { +//! Ok(writer) => { //! let r = writer.send(Severity::LOG_ALERT, "hello world"); //! if r.is_err() { //! println!("error sending the log {}", r.err().expect("got error"));