Fix typos in 'DataField' API documentation.

This commit is contained in:
Joscha 2021-07-07 20:10:45 +02:00 committed by Jeb Rosen
parent 7761911847
commit 85c0759f1d
1 changed files with 2 additions and 2 deletions

View File

@ -171,9 +171,9 @@ impl<'v> ValueField<'v> {
}
impl<'v> DataField<'v, '_> {
/// Shift the `name` of `self` and return `self` with the shfited `name`.
/// Shift the `name` of `self` and return `self` with the shifted `name`.
///
/// This is identical to [`ValueField::shift()`] but for `DataFields`s. See
/// This is identical to [`ValueField::shift()`] but for `DataField`s. See
/// [`NameView::shift()`] for the details on name "shifting".
///
/// # Example