Move string literal into format string
Co-authored-by: Michael Howell <michael@notriddle.com>
This commit is contained in:
parent
0b0bf10533
commit
c9dbfe31e2
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ impl<'a> Page<'a> {
|
|||
pub(crate) fn get_static_root_path(&self) -> String {
|
||||
match self.static_root_path {
|
||||
Some(s) => s.to_string(),
|
||||
None => format!("{}{}", self.root_path, "static.files/"),
|
||||
None => format!("{}static.files/", self.root_path),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue