summaryrefslogtreecommitdiff
path: root/src/doc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc.rs')
-rw-r--r--src/doc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc.rs b/src/doc.rs
index bf06625..89b9eea 100644
--- a/src/doc.rs
+++ b/src/doc.rs
@@ -229,7 +229,7 @@ impl<'a> Document {
///
/// The sources are any files that affect the output so that if
/// the source file changes, the output needs to be re-generated.
- pub fn sources(&mut self, template: &Option<String>) -> Vec<PathBuf> {
+ pub fn sources(&mut self, template: Option<&str>) -> Vec<PathBuf> {
let mut names = vec![];
for x in self.meta().bindings_filenames() {