Skip to content

Commit

Permalink
Minor typo fixes (#596)
Browse files Browse the repository at this point in the history
Thanks @nicolandu !
  • Loading branch information
nicolandu authored Jul 12, 2024
1 parent c753439 commit dfcebc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/src/consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ pub const GRID_ROWS: usize = 5;
// Minimum length of a code that can be shortened.
pub const MIN_TRIMMABLE_CODE_LEN: usize = 6;

// What to multiple latitude degrees by to get an integer value. There are three pairs representing
// What to multiply latitude degrees by to get an integer value. There are three pairs representing
// decimal digits, and five digits in the grid.
pub const LAT_INTEGER_MULTIPLIER: i64 = (ENCODING_BASE
* ENCODING_BASE
Expand All @@ -59,7 +59,7 @@ pub const LAT_INTEGER_MULTIPLIER: i64 = (ENCODING_BASE
* GRID_ROWS
* GRID_ROWS) as i64;

// What to multiple longitude degrees by to get an integer value. There are three pairs representing
// What to multiply longitude degrees by to get an integer value. There are three pairs representing
// decimal digits, and five digits in the grid.
pub const LNG_INTEGER_MULTIPLIER: i64 = (ENCODING_BASE
* ENCODING_BASE
Expand Down

0 comments on commit dfcebc9

Please sign in to comment.