From 5157c1e276b1314b345bb8215b5a89a2ccb9c5d7 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 3 Mar 2021 23:32:29 +0100 Subject: =?UTF-8?q?Documentation=20fixes=20=E2=9C=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/exec/context.rs | 4 ++-- src/exec/state.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/exec') 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(&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"] }, -- cgit v1.2.3