Skip to content

Commit

Permalink
docs: fix cargo doc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
arxanas committed Dec 10, 2024
1 parent 95049a9 commit 1f7842e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/src/time_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl DatePattern {
/// * `kind` must be either "after" or "before". This determines whether the
/// pattern will match dates after or before the parsed date.
///
/// * `now` is the user's current time. This is a DateTime<Tz> because
/// * `now` is the user's current time. This is a [`DateTime<Tz>`] because
/// knowledge of offset changes is needed to correctly process relative
/// times like "today". For example, California entered DST on March 10,
/// 2024, shifting clocks from UTC-8 to UTC-7 at 2:00 AM. If the pattern
Expand Down
4 changes: 2 additions & 2 deletions lib/src/union_find.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//! This module implements a UnionFind<T> type which can be used to
//! This module implements a [`UnionFind<T>`] type which can be used to
//! efficiently calculate disjoint sets for any data type.
use std::collections::HashMap;
Expand All @@ -25,7 +25,7 @@ struct Node<T> {
}

/// Implementation of the union-find algorithm:
/// https://en.wikipedia.org/wiki/Disjoint-set_data_structure
/// <https://en.wikipedia.org/wiki/Disjoint-set_data_structure>
///
/// Joins disjoint sets by size to amortize cost.
#[derive(Clone)]
Expand Down

0 comments on commit 1f7842e

Please sign in to comment.