aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-07-31 10:23:10 -0500
committerGitHub <noreply@github.com>2017-07-31 10:23:10 -0500
commit5ccd015912a61a7e1df8256beed0a75baefaf13d (patch)
tree30c21cdc7c3975ad1837b15f7821a98816497270
parentdb86a5d0a88a2cfffd6d0a45c5d0cc31f345bc36 (diff)
parent6a0f83290b8451245ae25de1f1e4a987a0ab7335 (diff)
downloadmilf-rs-5ccd015912a61a7e1df8256beed0a75baefaf13d.tar.gz
milf-rs-5ccd015912a61a7e1df8256beed0a75baefaf13d.zip
Merge pull request #205 from vitiral/pretty-doc
doc fixes
-rw-r--r--.travis.yml2
-rw-r--r--src/ser.rs10
2 files changed, 6 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index c9e484b..e4c5407 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,7 +10,7 @@ before_script:
script:
- cargo test
- rustdoc --test README.md -L target
- - cargo doc --no-deps
+ - test "$TRAVIS_RUST_VERSION" != "1.15.0" && cargo doc --no-deps || echo "skipping cargo doc"
after_success:
- travis-cargo --only nightly doc-upload
- travis-cargo coveralls --no-sudo
diff --git a/src/ser.rs b/src/ser.rs
index 721fbf1..b055f28 100644
--- a/src/ser.rs
+++ b/src/ser.rs
@@ -265,15 +265,15 @@ impl<'a> Serializer<'a> {
///
/// Instead of:
///
- /// ```ignore
+ /// ```toml,ignore
/// single = "no newlines"
/// text = "\nfoo\nbar\n"
/// ```
///
/// You will have:
///
- /// ```ignore
- /// single = "no newlines"
+ /// ```toml,ignore
+ /// single = 'no newlines'
/// text = '''
/// foo
/// bar
@@ -299,13 +299,13 @@ impl<'a> Serializer<'a> {
///
/// Instead of:
///
- /// ```ignore
+ /// ```toml,ignore
/// array = ["foo", "bar"]
/// ```
///
/// You will have:
///
- /// ```ignore
+ /// ```toml,ignore
/// array = [
/// "foo",
/// "bar",