diff options
Diffstat (limited to 'src/doc.rs')
-rw-r--r-- | src/doc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() { |