summaryrefslogtreecommitdiff
path: root/src/paper.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-01-03 00:12:09 +0100
committerLaurenz <laurmaedje@gmail.com>2021-01-03 00:12:09 +0100
commitaae67bd572ad86f4c57e364daa51a9dc883b8913 (patch)
tree0aba021e0748ebad2197ea390385ec5f93ccbc6e /src/paper.rs
parent1c40dc42e7bc7b799b77f06d25414aca59a044ba (diff)
Move and rename many things 🚛
Diffstat (limited to 'src/paper.rs')
-rw-r--r--src/paper.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/paper.rs b/src/paper.rs
index 21f54756..bbe07803 100644
--- a/src/paper.rs
+++ b/src/paper.rs
@@ -5,7 +5,7 @@ use crate::geom::{Length, Linear, Relative, Sides, Size};
/// Specification of a paper.
#[derive(Debug, Copy, Clone, PartialEq)]
pub struct Paper {
- /// The kind of paper, which defines the default margins.
+ /// The broad class this paper belongs to.
pub class: PaperClass,
/// The width of the paper in millimeters.
pub width: f64,
@@ -25,7 +25,7 @@ impl Paper {
}
}
-/// Paper classes define default margins for a class of related papers.
+/// Defines default margins for a class of related papers.
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
pub enum PaperClass {
Custom,