From 0d5fdce82e1e09df96ea2ee190e9fffd91b2c714 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 27 May 2013 09:49:54 -0400 Subject: syntax highlight code examples in docstrings --- src/libstd/num/float.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/num/float.rs') 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)) /// ~~~ /// -- cgit 1.4.1-3-g733a5