diff options
Diffstat (limited to 'src/controller/utils.rs')
-rw-r--r-- | src/controller/utils.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller/utils.rs b/src/controller/utils.rs index bd3007e..26db765 100644 --- a/src/controller/utils.rs +++ b/src/controller/utils.rs @@ -71,7 +71,7 @@ pub fn template( path: &str, context: Context, ) -> Response<Body> { - let mut context = context.clone(); + let mut context = context; context.insert("assets", assets); let response = match templates.render(path, &context) { |