summaryrefslogtreecommitdiff
path: root/src/style.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/style.rs')
-rw-r--r--src/style.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/style.rs b/src/style.rs
index aeff96ef..430deaca 100644
--- a/src/style.rs
+++ b/src/style.rs
@@ -156,7 +156,7 @@ pub struct Paper {
impl Paper {
/// The paper with the given name.
- pub fn from_name(name: &str) -> Option<Paper> {
+ pub fn from_str(name: &str) -> Option<Paper> {
parse_paper(name)
}
}