aboutsummaryrefslogtreecommitdiff
path: root/src/modules/router
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-03-05 05:31:22 -0800
committerFuwn <[email protected]>2024-03-05 05:31:22 -0800
commit093c7ac678628b478f0b8888108ef50988aee2ad (patch)
tree6c73cb3ca0c5e481816bcf85992283c5df2fb8e9 /src/modules/router
parentfix(response): unused members (diff)
downloadlocus-093c7ac678628b478f0b8888108ef50988aee2ad.tar.xz
locus-093c7ac678628b478f0b8888108ef50988aee2ad.zip
feat(rustc): bump nightly
Diffstat (limited to 'src/modules/router')
-rw-r--r--src/modules/router/translate/module.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/router/translate/module.rs b/src/modules/router/translate/module.rs
index 78ab533..aa46956 100644
--- a/src/modules/router/translate/module.rs
+++ b/src/modules/router/translate/module.rs
@@ -45,7 +45,7 @@ where
if let Some(germ::ast::Node::Link {
to,
text,
- }) = germ::ast::Ast::from_string(line).inner().get(0)
+ }) = germ::ast::Ast::from_string(line).inner().first()
{
saved_lines.insert(
i,