diff options
author | metamuffin <metamuffin@disroot.org> | 2023-01-27 21:48:22 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-01-27 21:48:22 +0100 |
commit | a742f7dbd8bda0bf23a6d5273e5dd2f83b9d4c9f (patch) | |
tree | 49ba83ef7aec7b2bf4ff61b41c621696c45c6e95 /server/src/routes/ui/node.rs | |
parent | 04e3ebfdda613be0e58290a49536116cc57ad147 (diff) | |
download | jellything-a742f7dbd8bda0bf23a6d5273e5dd2f83b9d4c9f.tar jellything-a742f7dbd8bda0bf23a6d5273e5dd2f83b9d4c9f.tar.bz2 jellything-a742f7dbd8bda0bf23a6d5273e5dd2f83b9d4c9f.tar.zst |
clippy
Diffstat (limited to 'server/src/routes/ui/node.rs')
-rw-r--r-- | server/src/routes/ui/node.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/server/src/routes/ui/node.rs b/server/src/routes/ui/node.rs index f216df2..dd98a61 100644 --- a/server/src/routes/ui/node.rs +++ b/server/src/routes/ui/node.rs @@ -26,10 +26,9 @@ pub async fn r_library_node( ) -> Result<DynLayoutPage<'_>, MyError> { let node = library .nested_path(&path) - .context("retrieving library node")? - .clone(); + .context("retrieving library node")?; Ok(LayoutPage { - title: format!("{}", node.title()), + title: node.title().to_string(), content: markup::new! { @NodePage { node: node.clone() } }, |