Skip to content

Commit

Permalink
Merge pull request #12 from ryandbair/fix-example
Browse files Browse the repository at this point in the history
Fix example
  • Loading branch information
Geal committed Jun 22, 2016
2 parents 4837bf9 + 9650708 commit 77dd274
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
@@ -1 +1,3 @@
build
target
Cargo.lock
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -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"));
Expand Down

0 comments on commit 77dd274

Please sign in to comment.