Skip to content

Commit

Permalink
use nicer code style to define DEFAULT_MIN_STACK_SIZE
Browse files Browse the repository at this point in the history
  • Loading branch information
stlankes committed Apr 27, 2020
1 parent 4d3cf5b commit 2c43746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sys/hermit/thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub struct Thread {
unsafe impl Send for Thread {}
unsafe impl Sync for Thread {}

pub const DEFAULT_MIN_STACK_SIZE: usize = 1_048_576;
pub const DEFAULT_MIN_STACK_SIZE: usize = 1 << 20;

impl Thread {
pub unsafe fn new_with_coreid(
Expand Down

0 comments on commit 2c43746

Please sign in to comment.