mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
mix format
This commit is contained in:
parent
c19e873c9b
commit
363e27f063
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ defmodule PhilomenaQuery.IpMask do
|
||||||
|
|
||||||
defp apply_mask(ip, mask) when is_binary(ip) do
|
defp apply_mask(ip, mask) when is_binary(ip) do
|
||||||
# Truncate bit size of ip to mask length and zero-fill the remainder
|
# Truncate bit size of ip to mask length and zero-fill the remainder
|
||||||
<<ip::bits-size(mask), 0::integer-size(bit_size(ip)-mask)>>
|
<<ip::bits-size(mask), 0::integer-size(bit_size(ip) - mask)>>
|
||||||
end
|
end
|
||||||
|
|
||||||
defp list_to_bits(list, unit_length) do
|
defp list_to_bits(list, unit_length) do
|
||||||
|
|
Loading…
Reference in a new issue