Skip to content

Commit 513d916

Browse files
committed
Fix clippy::tabs_in_doc_comments
1 parent 43584e1 commit 513d916

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@
7777
clippy::unnecessary_mut_passed,
7878
clippy::let_and_return,
7979
clippy::many_single_char_names,
80-
clippy::tabs_in_doc_comments
8180
)]
8281
/// Various algorithms and helper methods that are used elsewhere in SmartCore
8382
pub mod algorithm;

src/math/distance/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//! Formally, the distance can be any metric measure that is defined as \\( d(x, y) \geq 0\\) and follows three conditions:
55
//! 1. \\( d(x, y) = 0 \\) if and only \\( x = y \\), positive definiteness
66
//! 1. \\( d(x, y) = d(y, x) \\), symmetry
7-
//! 1. \\( d(x, y) \leq d(x, z) + d(z, y) \\), subadditivity or triangle inequality
7+
//! 1. \\( d(x, y) \leq d(x, z) + d(z, y) \\), subadditivity or triangle inequality
88
//!
99
//! for all \\(x, y, z \in Z \\)
1010
//!

src/neighbors/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//! and follows three conditions:
1111
//! 1. \\( d(x, y) = 0 \\) if and only \\( x = y \\), positive definiteness
1212
//! 1. \\( d(x, y) = d(y, x) \\), symmetry
13-
//! 1. \\( d(x, y) \leq d(x, z) + d(z, y) \\), subadditivity or triangle inequality
13+
//! 1. \\( d(x, y) \leq d(x, z) + d(z, y) \\), subadditivity or triangle inequality
1414
//!
1515
//! for all \\(x, y, z \in Z \\)
1616
//!

0 commit comments

Comments
 (0)