summaryrefslogtreecommitdiff
path: root/src/exec
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-03-03 23:32:29 +0100
committerLaurenz <laurmaedje@gmail.com>2021-03-03 23:32:29 +0100
commit5157c1e276b1314b345bb8215b5a89a2ccb9c5d7 (patch)
treee608628322d573e9dc141e44ddb9a799cc702579 /src/exec
parent34f839c7177a041c187ae6103455cd875c4f3d22 (diff)
Documentation fixes ✔
Diffstat (limited to 'src/exec')
-rw-r--r--src/exec/context.rs4
-rw-r--r--src/exec/state.rs2
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"] },