commit
fefd364371
|
@ -10,7 +10,7 @@ before_script:
|
||||||
script:
|
script:
|
||||||
- cargo test
|
- cargo test
|
||||||
- rustdoc --test README.md -L target
|
- 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:
|
after_success:
|
||||||
- travis-cargo --only nightly doc-upload
|
- travis-cargo --only nightly doc-upload
|
||||||
- travis-cargo coveralls --no-sudo
|
- travis-cargo coveralls --no-sudo
|
||||||
|
|
10
src/ser.rs
10
src/ser.rs
|
@ -265,15 +265,15 @@ impl<'a> Serializer<'a> {
|
||||||
///
|
///
|
||||||
/// Instead of:
|
/// Instead of:
|
||||||
///
|
///
|
||||||
/// ```ignore
|
/// ```toml,ignore
|
||||||
/// single = "no newlines"
|
/// single = "no newlines"
|
||||||
/// text = "\nfoo\nbar\n"
|
/// text = "\nfoo\nbar\n"
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// You will have:
|
/// You will have:
|
||||||
///
|
///
|
||||||
/// ```ignore
|
/// ```toml,ignore
|
||||||
/// single = "no newlines"
|
/// single = 'no newlines'
|
||||||
/// text = '''
|
/// text = '''
|
||||||
/// foo
|
/// foo
|
||||||
/// bar
|
/// bar
|
||||||
|
@ -299,13 +299,13 @@ impl<'a> Serializer<'a> {
|
||||||
///
|
///
|
||||||
/// Instead of:
|
/// Instead of:
|
||||||
///
|
///
|
||||||
/// ```ignore
|
/// ```toml,ignore
|
||||||
/// array = ["foo", "bar"]
|
/// array = ["foo", "bar"]
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// You will have:
|
/// You will have:
|
||||||
///
|
///
|
||||||
/// ```ignore
|
/// ```toml,ignore
|
||||||
/// array = [
|
/// array = [
|
||||||
/// "foo",
|
/// "foo",
|
||||||
/// "bar",
|
/// "bar",
|
||||||
|
|
Loading…
Reference in a new issue