Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
shuhuiluo committed Dec 30, 2024
1 parent db32b82 commit a426e74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/nonfungible_position_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ async fn burn_liquidity<T, P>(
recipient: owner.address(),
},
};
let params = remove_call_parameters(&position, options).unwrap();
let params = remove_call_parameters(position, options).unwrap();
let tx = TransactionRequest::default()
.from(sender)
.to(npm)
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/tick_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ impl<I: TickIndex> TickMap<I> {
let compressed = tick.index.compress(tick_spacing);
let (word_pos, bit_pos) = compressed.position();
let word = bitmap.get(&word_pos).unwrap_or(&U256::ZERO);
bitmap.insert(word_pos, word | uint!(1_U256) << bit_pos);
bitmap.insert(word_pos, word | (uint!(1_U256) << bit_pos));
}
Self {
bitmap,
Expand Down

0 comments on commit a426e74

Please sign in to comment.