diff options
Diffstat (limited to 'src/exec')
| -rw-r--r-- | src/exec/context.rs | 4 | ||||
| -rw-r--r-- | src/exec/state.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/exec/context.rs b/src/exec/context.rs index 62f50880..b37b15cb 100644 --- a/src/exec/context.rs +++ b/src/exec/context.rs @@ -178,8 +178,8 @@ impl<'a> ExecContext<'a> { /// Start a layouting group. /// - /// All further calls to [`push`](Self::push) will collect nodes for this group. - /// The given metadata will be returned alongside the collected nodes + /// All further calls to [`push`](Self::push) will collect nodes for this + /// group. The given metadata will be returned alongside the collected nodes /// in a matching call to [`end_group`](Self::end_group). fn start_group<T: 'static>(&mut self, meta: T) { self.groups.push((Box::new(meta), std::mem::take(&mut self.inner))); diff --git a/src/exec/state.rs b/src/exec/state.rs index 756a485c..22839c54 100644 --- a/src/exec/state.rs +++ b/src/exec/state.rs @@ -133,7 +133,7 @@ impl FontState { impl Default for FontState { fn default() -> Self { Self { - /// The default tree of font fallbacks. + // The default tree of font fallbacks. families: Rc::new(fallback! { list: [], classes: { "monospace" => ["inconsolata"] }, |
