Skip to content

Commit 49b1bb5

Browse files
committed
fix clippy comment
1 parent a969a78 commit 49b1bb5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

RELEASING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
$ git tag -am "X.Y.Z" X.Y.Z
1717
```
1818

19+
git tag -am "0.5.0" 0.5.0
20+
1921
5. Push!
2022

2123
```

src/functions.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ use std::sync::OnceLock;
1010
pub fn fileql_std_functions() -> &'static HashMap<&'static str, Function> {
1111
static HASHMAP: OnceLock<HashMap<&'static str, Function>> = OnceLock::new();
1212
HASHMAP.get_or_init(|| {
13-
let mut map: HashMap<&'static str, Function> =
14-
HashMap::from(standard_functions().to_owned());
13+
let mut map: HashMap<&'static str, Function> = standard_functions().to_owned();
1514
map.insert("files_count", files_count);
1615
map
1716
})
@@ -20,8 +19,7 @@ pub fn fileql_std_functions() -> &'static HashMap<&'static str, Function> {
2019
pub fn fileql_std_signatures() -> &'static HashMap<&'static str, Signature> {
2120
static HASHMAP: OnceLock<HashMap<&'static str, Signature>> = OnceLock::new();
2221
HASHMAP.get_or_init(|| {
23-
let mut map: HashMap<&'static str, Signature> =
24-
HashMap::from(standard_function_signatures().to_owned());
22+
let mut map: HashMap<&'static str, Signature> = standard_function_signatures().to_owned();
2523
map.insert(
2624
"files_count",
2725
Signature {

0 commit comments

Comments
 (0)