Skip to content

Commit

Permalink
Tweak doc wording
Browse files Browse the repository at this point in the history
  • Loading branch information
lnicola committed Jun 1, 2023
1 parent 7ddd9ec commit c7572a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/spatial_ref/srs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -562,11 +562,11 @@ impl SpatialRef {
/// * `Ok(None)` - if node or attribute are not found (C library will return `nullptr`) or attribute contains no value,
/// * `Err(_)` - if there is a string conversion error.
///
/// # Panics
/// See: [`OSRGetProjParm`](https://gdal.org/api/ogr_srs_api.html#_CPPv415OSRGetAttrValue20OGRSpatialReferenceHPKci)
///
/// If `child` is greater than [`libc::c_int::MAX`].
/// # Panics
///
/// See: [`OSRGetProjParm`](https://gdal.org/api/ogr_srs_api.html#_CPPv415OSRGetAttrValue20OGRSpatialReferenceHPKci)
/// Panics if `child` is greater than [`libc::c_int::MAX`].
pub fn get_attr_value(&self, node_path: &str, child: usize) -> Result<Option<String>> {
assert!(
child <= libc::c_int::MAX as usize,
Expand Down

0 comments on commit c7572a5

Please sign in to comment.