summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Pignolet <matthieu@puffer.fish>2025-05-19 12:36:05 +0400
committerMatthieu Pignolet <matthieu@puffer.fish>2025-05-19 12:36:05 +0400
commit4a21aec69b320c0428255917341d716c0ddb6b84 (patch)
tree9f6dce651e13194a0b2e5c29b804763c4f7e8964
parentf44fa1d5df68744222e36d7cee2587f5bbfc42ea (diff)
fix: formatting in lib.rs
Signed-off-by: Matthieu Pignolet <matthieu@puffer.fish>
-rw-r--r--src/lib.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 7ee1e7e..3a20e7f 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,8 +1,8 @@
//! ALINE
-//! https://webdocs.cs.ualberta.ca/~kondrak/
+//! <https://webdocs.cs.ualberta.ca/~kondrak/>
//! Copyright 2002 by Grzegorz Kondrak.
//!
-//! ALINE is an algorithm for aligning phonetic sequences, described in [1].
+//! ALINE is an algorithm for aligning phonetic sequences, described in \[1\].
//! This module is a port of Kondrak's (2002) ALINE. It provides functions for
//! phonetic sequence alignment and similarity analysis. These are useful in
//! historical linguistics, sociolinguistics and synchronic phonology.
@@ -13,7 +13,7 @@
//! - Segmental features
//!
//! In this implementation, some parameters have been changed from their default
-//! values as described in [1], in order to replicate published results. All changes
+//! values as described in \[1\], in order to replicate published results. All changes
//! are noted in comments.
//!
//! # Get optimal alignment of two phonetic sequences
@@ -37,7 +37,7 @@
//! );
//! ```
//!
-//! [1] G. Kondrak. Algorithms for Language Reconstruction. PhD dissertation,
+//! \[1\] G. Kondrak. Algorithms for Language Reconstruction. PhD dissertation,
//! University of Toronto.
use std::{collections::HashSet, f64};