mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 20:56:49 +00:00
1 parent
9b658d86b2
commit
76509830e6
190 files changed
+3469
-930
No files matched your search
+6
-1
@@ -14,7 +14,12 @@ pub(crate) fn get_simple_settings(args: &[Meta]) -> HashMap<String, String> {
|
||||
return map;
|
||||
};
|
||||
|
||||
if let Some(key) = path.segments.iter().next().map(|s| s.ident.clone()) {
|
||||
if let Some(key) = path
|
||||
.segments
|
||||
.iter()
|
||||
.next()
|
||||
.map(|s| s.ident.clone())
|
||||
{
|
||||
map.insert(key.to_string(), str.value());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user