Skip to content

Commit a7ad56a

Browse files
committed
Fix links
part of rust-lang/rust#40912 []\n() is not actually a link.
1 parent cb9b985 commit a7ad56a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

stats.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@ pub trait Stats {
3939
///
4040
/// Note: this method sacrifices performance at the altar of accuracy
4141
/// Depends on IEEE-754 arithmetic guarantees. See proof of correctness at:
42-
/// ["Adaptive Precision Floating-Point Arithmetic and Fast Robust Geometric Predicates"]
43-
/// (http://www.cs.cmu.edu/~quake-papers/robust-arithmetic.ps)
42+
/// ["Adaptive Precision Floating-Point Arithmetic and Fast Robust Geometric
43+
/// Predicates"][paper]
44+
///
45+
/// [paper]: http://www.cs.cmu.edu/~quake-papers/robust-arithmetic.ps
4446
fn sum(&self) -> f64;
4547

4648
/// Minimum value of the samples.

0 commit comments

Comments
 (0)