Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
frewsxcv committed Feb 14, 2021
1 parent 81b233a commit d788b89
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/proj.rs
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,10 @@ impl Proj {
/// # Safety
/// This method contains unsafe code.
pub fn def(&self) -> Result<String, ProjError> {
Ok(self.pj_info().definition.expect("proj_pj_info did not provide a definition"))
Ok(self
.pj_info()
.definition
.expect("proj_pj_info did not provide a definition"))
}

/// Project geodetic coordinates (in radians) into the projection specified by `definition`
Expand Down

0 comments on commit d788b89

Please sign in to comment.