From bfdbf1fcbc30ba30c5c07e3bbe6fe7525046ec65 Mon Sep 17 00:00:00 2001 From: Garrett Berg Date: Sun, 30 Jul 2017 10:18:00 -0600 Subject: doc fixes --- src/ser.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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", -- cgit v1.2.3 From 6a0f83290b8451245ae25de1f1e4a987a0ab7335 Mon Sep 17 00:00:00 2001 From: Garrett Berg Date: Sun, 30 Jul 2017 17:38:02 -0600 Subject: don't run `cargo doc` for 1.15.0 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3