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:
|
||||
///
|
||||
/// ```toml,no_run
|
||||
/// ```ignore
|
||||
/// single = "no newlines"
|
||||
/// text = "\nfoo\nbar\n"
|
||||
/// ```
|
||||
///
|
||||
/// You will have:
|
||||
///
|
||||
/// ```toml,no_run
|
||||
/// ```ignore
|
||||
/// single = "no newlines"
|
||||
/// text = '''
|
||||
/// foo
|
||||
|
@ -297,13 +297,13 @@ impl<'a> Serializer<'a> {
|
|||
///
|
||||
/// Instead of:
|
||||
///
|
||||
/// ```toml,no_run
|
||||
/// ```ignore
|
||||
/// array = ["foo", "bar"]
|
||||
/// ```
|
||||
///
|
||||
/// You will have:
|
||||
///
|
||||
/// ```toml,no_run
|
||||
/// ```ignore
|
||||
/// array = [
|
||||
/// "foo",
|
||||
/// "bar",
|
||||
|
|
Loading…
Reference in a new issue