File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ impl KdlDocument {
193
193
& mut self . nodes
194
194
}
195
195
196
- /// Gets the formatting details for this entry.
196
+ /// Gets the formatting details (including whitespace and comments) for this entry.
197
197
pub fn format ( & self ) -> Option < & KdlDocumentFormat > {
198
198
self . format . as_ref ( )
199
199
}
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ impl KdlEntry {
112
112
self . ty = Some ( ty. into ( ) ) ;
113
113
}
114
114
115
- /// Gets the formatting details for this entry.
115
+ /// Gets the formatting details (including whitespace and comments) for this entry.
116
116
pub fn format ( & self ) -> Option < & KdlEntryFormat > {
117
117
self . format . as_ref ( )
118
118
}
Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ impl KdlNode {
246
246
self . children_mut ( ) . as_mut ( ) . unwrap ( )
247
247
}
248
248
249
- /// Gets the formatting details for this node.
249
+ /// Gets the formatting details (including whitespace and comments) for this node.
250
250
pub fn format ( & self ) -> Option < & KdlNodeFormat > {
251
251
self . format . as_ref ( )
252
252
}
You can’t perform that action at this time.
0 commit comments