Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
hskang9 committed Oct 24, 2019
1 parent acf1a99 commit 954ee60
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,9 @@ pub struct GlobalLoggerGuard {
}

impl GlobalLoggerGuard {
fn get_canceled(&self) -> bool {
return &self.canceled;
/// Getter for canceled to check status
pub fn get_canceled(self) -> bool {
return self.canceled;
}

fn new() -> Self {
Expand Down

0 comments on commit 954ee60

Please sign in to comment.