]> git.lizzy.rs Git - rust.git/commitdiff
Fix some links
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Sun, 8 Jul 2018 13:07:17 +0000 (15:07 +0200)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Sun, 8 Jul 2018 13:07:17 +0000 (15:07 +0200)
src/libcore/num/flt2dec/strategy/dragon.rs
src/libcore/num/flt2dec/strategy/grisu.rs

index 6aa4f297e75ba7f79fe6164867c36dd01ee860b5..9c9e531c593c6cf44ea501a07e183785413c2a36 100644 (file)
@@ -9,9 +9,9 @@
 // except according to those terms.
 
 /*!
-Almost direct (but slightly optimized) Rust translation of Figure 3 of [1].
+Almost direct (but slightly optimized) Rust translation of Figure 3 of \[1\].
 
-[1] Burger, R. G. and Dybvig, R. K. 1996. Printing floating-point numbers
+\[1\] Burger, R. G. and Dybvig, R. K. 1996. Printing floating-point numbers
     quickly and accurately. SIGPLAN Not. 31, 5 (May. 1996), 108-116.
 */
 
index cf70a1978f5e6d53aa3de3fdf7b02fecfd459806..5c023a191db555fef2f38fee801a0b04fa9c08ae 100644 (file)
@@ -9,10 +9,10 @@
 // except according to those terms.
 
 /*!
-Rust adaptation of Grisu3 algorithm described in [1]. It uses about
+Rust adaptation of Grisu3 algorithm described in \[1\]. It uses about
 1KB of precomputed table, and in turn, it's very quick for most inputs.
 
-[1] Florian Loitsch. 2010. Printing floating-point numbers quickly and
+\[1\] Florian Loitsch. 2010. Printing floating-point numbers quickly and
     accurately with integers. SIGPLAN Not. 45, 6 (June 2010), 233-243.
 */