about summary refs log tree commit diff
path: root/src/libcore/fmt
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-09-22 09:05:29 +0000
committerbors <bors@rust-lang.org>2014-09-22 09:05:29 +0000
commit8a458181dd7fef8df0bb488eee2c354a8ca4df4a (patch)
tree49a6c4a4b86a658a498cd2845bcedc0db2ee4264 /src/libcore/fmt
parenteeda1b87ff9dd2902f6d58c83d384775b90e3734 (diff)
parenta0d502b0ed096397b7cccde37ec7139011ce7e9a (diff)
downloadrust-8a458181dd7fef8df0bb488eee2c354a8ca4df4a.tar.gz
rust-8a458181dd7fef8df0bb488eee2c354a8ca4df4a.zip
auto merge of #17339 : treeman/rust/doc-things, r=alexcrichton
Also some cleanup to conform to documentation style.
Diffstat (limited to 'src/libcore/fmt')
-rw-r--r--src/libcore/fmt/num.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/fmt/num.rs b/src/libcore/fmt/num.rs
index 568745d70b3..eb8d684fe50 100644
--- a/src/libcore/fmt/num.rs
+++ b/src/libcore/fmt/num.rs
@@ -138,10 +138,10 @@ pub struct RadixFmt<T, R>(T, R);
 ///
 /// # Example
 ///
-/// ~~~
+/// ```
 /// use std::fmt::radix;
 /// assert_eq!(format!("{}", radix(55i, 36)), "1j".to_string());
-/// ~~~
+/// ```
 pub fn radix<T>(x: T, base: u8) -> RadixFmt<T, Radix> {
     RadixFmt(x, Radix::new(base))
 }