aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ser.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ser.rs b/src/ser.rs
index bd13365..13d4584 100644
--- a/src/ser.rs
+++ b/src/ser.rs
@@ -273,15 +273,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
@@ -311,13 +311,13 @@ impl<'a> Serializer<'a> {
///
/// Instead of:
///
- /// ```ignore
+ /// ```toml,ignore
/// array = ["foo", "bar"]
/// ```
///
/// You will have:
///
- /// ```ignore
+ /// ```toml,ignore
/// array = [
/// "foo",
/// "bar",