Skip to content

Commit

Permalink
critical_section: Remove unneeded field
Browse files Browse the repository at this point in the history
The stored type is configured through critical_section features
  • Loading branch information
chrysn committed Aug 21, 2024
1 parent 730833c commit 22ebf56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/impl_critical_section.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

use critical_section::RawRestoreState;

struct CriticalSection(usize);
struct CriticalSection;
critical_section::set_impl!(CriticalSection);

unsafe impl critical_section::Impl for CriticalSection {
Expand Down

0 comments on commit 22ebf56

Please sign in to comment.