use ignore rather than no_run for toml blocks
This commit is contained in:
parent
ec82e695ba
commit
fba6170b95
|
@ -263,14 +263,14 @@ impl<'a> Serializer<'a> {
|
||||||
///
|
///
|
||||||
/// Instead of:
|
/// Instead of:
|
||||||
///
|
///
|
||||||
/// ```toml,no_run
|
/// ```ignore
|
||||||
/// single = "no newlines"
|
/// single = "no newlines"
|
||||||
/// text = "\nfoo\nbar\n"
|
/// text = "\nfoo\nbar\n"
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// You will have:
|
/// You will have:
|
||||||
///
|
///
|
||||||
/// ```toml,no_run
|
/// ```ignore
|
||||||
/// single = "no newlines"
|
/// single = "no newlines"
|
||||||
/// text = '''
|
/// text = '''
|
||||||
/// foo
|
/// foo
|
||||||
|
@ -297,13 +297,13 @@ impl<'a> Serializer<'a> {
|
||||||
///
|
///
|
||||||
/// Instead of:
|
/// Instead of:
|
||||||
///
|
///
|
||||||
/// ```toml,no_run
|
/// ```ignore
|
||||||
/// array = ["foo", "bar"]
|
/// array = ["foo", "bar"]
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// You will have:
|
/// You will have:
|
||||||
///
|
///
|
||||||
/// ```toml,no_run
|
/// ```ignore
|
||||||
/// array = [
|
/// array = [
|
||||||
/// "foo",
|
/// "foo",
|
||||||
/// "bar",
|
/// "bar",
|
||||||
|
|
Loading…
Reference in a new issue