Skip to content

Commit

Permalink
Merge #51
Browse files Browse the repository at this point in the history
51: Make Area fields public r=urschrei a=lnicola



Co-authored-by: Laurențiu Nicola <[email protected]>
  • Loading branch information
bors[bot] and lnicola authored Nov 14, 2020
2 parents a34e1f5 + 131a9d9 commit 0ab155f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/proj.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ pub enum ProjError {
/// `west` must be greater than `east`.
#[derive(Copy, Clone, Debug)]
pub struct Area {
north: f64,
south: f64,
east: f64,
west: f64,
pub north: f64,
pub south: f64,
pub east: f64,
pub west: f64,
}

impl Area {
Expand Down Expand Up @@ -1119,6 +1119,6 @@ mod test {
assert_eq!(area.south, 24.6);
assert_eq!(area.east, 44.83);
assert_eq!(area.north, 84.17);
assert_eq!(name, "Europe - LCC & LAEA");
assert!(name.contains("Europe"));
}
}

0 comments on commit 0ab155f

Please sign in to comment.