Skip to content

Commit 3c1dce4

Browse files
committed
Minor correction in docs
1 parent 6ca7b6d commit 3c1dce4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/coordinate/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ pub trait CoordinateSet: CoordinateMetadata {
130130
fn len(&self) -> usize;
131131

132132
/// Native dimension of the underlying coordinates (they will always be
133-
/// returned by [`get_coord`] as converted to [`Coor4D`](super::Coor4D))
133+
/// returned by [`Self::get_coord()`] as converted to [`Coor4D`](super::Coor4D))
134134
fn dim(&self) -> usize;
135135

136136
/// Access the `index`th coordinate tuple
@@ -186,13 +186,13 @@ pub trait CoordinateSet: CoordinateMetadata {
186186
}
187187

188188
/// Replace the four elements of the `index`th `CoordinateTuple`
189-
/// with `x`, `y`, `z` and `t`. Syntactic sugar for [`set_coord`]
189+
/// with `x`, `y`, `z` and `t`. Syntactic sugar for [`Self::set_coord`]
190190
fn set_xyzt(&mut self, index: usize, x: f64, y: f64, z: f64, t: f64) {
191191
self.set_coord(index, &Coor4D([x, y, z, t]));
192192
}
193193

194194
/// Access the four elements of the `index`th `CoordinateTuple`.
195-
/// Syntactic sugar for [`get_coord`]
195+
/// Syntactic sugar for [`Self::get_coord`]
196196
fn xyzt(&self, index: usize) -> (f64, f64, f64, f64) {
197197
self.get_coord(index).xyzt()
198198
}

0 commit comments

Comments
 (0)