Skip to content

Commit

Permalink
make NextPowerOfTwo public
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-ferdinand committed Feb 7, 2024
1 parent 607132b commit a19b1da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasm-lib/src/arithmetic/u32/next_power_of_two.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ use triton_vm::prelude::*;
/// Returns the smallest power of two greater than or equal to self.
/// Behaves like the `rustc` method for all inputs of type `u32`.
#[derive(Clone, Copy)]
struct NextPowerOfTwo;
#[derive(Debug, Clone, Copy)]
pub struct NextPowerOfTwo;

impl BasicSnippet for NextPowerOfTwo {
fn inputs(&self) -> Vec<(DataType, String)> {
Expand Down

0 comments on commit a19b1da

Please sign in to comment.