Skip to content

Commit

Permalink
Make remaining_points_index private again
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary committed Dec 4, 2020
1 parent 75c2f60 commit f9b5070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/middlewares/src/metering.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub struct Metering<F: Fn(&Operator) -> u64 + Copy + Clone + Send + Sync> {
cost_function: F,

/// The global index in the current module for remaining points.
pub remaining_points_index: Mutex<Option<GlobalIndex>>,
remaining_points_index: Mutex<Option<GlobalIndex>>,
}

/// The function-level metering middleware.
Expand Down

0 comments on commit f9b5070

Please sign in to comment.