Merge pull request #205 from vitiral/pretty-doc

doc fixes
This commit is contained in:
Alex Crichton 2017-07-31 10:23:10 -05:00 committed by GitHub
commit fefd364371
2 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -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",