Skip to content

Commit

Permalink
Fix get_pid tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vertexclique committed Nov 10, 2019
1 parent a762ca6 commit 869fb70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightproc/src/proc_stack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ impl ProcStack {
///
/// let proc = ProcStack::default().with_pid(123);
///
/// assert!(proc.get_pid(), 123);
/// assert_eq!(proc.get_pid(), 123);
/// ```
pub fn get_pid(&self) -> usize {
self.pid.load(Ordering::Acquire)
Expand Down

0 comments on commit 869fb70

Please sign in to comment.