about summary refs log tree commit diff
path: root/src/libstd/num
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-05-28 04:02:02 -0700
committerbors <bors@rust-lang.org>2013-05-28 04:02:02 -0700
commit24784e803040d354cac3e2859e80af8c7c02bdba (patch)
tree87ed95b7a4e5f27c48595b5661373349b04ee1fd /src/libstd/num
parentb738b5766eefc3e600613b8d62b70f89285e6899 (diff)
parent0d5fdce82e1e09df96ea2ee190e9fffd91b2c714 (diff)
downloadrust-24784e803040d354cac3e2859e80af8c7c02bdba.tar.gz
rust-24784e803040d354cac3e2859e80af8c7c02bdba.zip
auto merge of #6771 : thestinger/rust/highlight, r=luqmana
This works with pandoc linked against highlighting-kate >= 0.5.3.8. It seems to just be a no-op with earlier versions, because I successfully ran this through `try`.

This also fixes some consistency issues (like making `Example`/`Examples` always a header and always using three tildes).
Diffstat (limited to 'src/libstd/num')
-rw-r--r--src/libstd/num/f32.rs2
-rw-r--r--src/libstd/num/f64.rs2
-rw-r--r--src/libstd/num/float.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/num/f32.rs b/src/libstd/num/f32.rs
index c6d183c6fb8..94cff78375a 100644
--- a/src/libstd/num/f32.rs
+++ b/src/libstd/num/f32.rs
@@ -364,7 +364,7 @@ impl Round for f32 {
     ///
     /// The fractional part of the number, satisfying:
     ///
-    /// ~~~
+    /// ~~~ {.rust}
     /// assert!(x == trunc(x) + fract(x))
     /// ~~~
     ///
diff --git a/src/libstd/num/f64.rs b/src/libstd/num/f64.rs
index 262e4176c91..b7754ed07ad 100644
--- a/src/libstd/num/f64.rs
+++ b/src/libstd/num/f64.rs
@@ -376,7 +376,7 @@ impl Round for f64 {
     ///
     /// The fractional part of the number, satisfying:
     ///
-    /// ~~~
+    /// ~~~ {.rust}
     /// assert!(x == trunc(x) + fract(x))
     /// ~~~
     ///
diff --git a/src/libstd/num/float.rs b/src/libstd/num/float.rs
index d04f12f6bd3..acc5e5a6f39 100644
--- a/src/libstd/num/float.rs
+++ b/src/libstd/num/float.rs
@@ -454,7 +454,7 @@ impl Round for float {
     ///
     /// The fractional part of the number, satisfying:
     ///
-    /// ~~~
+    /// ~~~ {.rust}
     /// assert!(x == trunc(x) + fract(x))
     /// ~~~
     ///