Skip to content

Commit

Permalink
fix clippy comment
Browse files Browse the repository at this point in the history
  • Loading branch information
AmrDeveloper committed Jun 13, 2024
1 parent a969a78 commit 49b1bb5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
$ git tag -am "X.Y.Z" X.Y.Z
```

git tag -am "0.5.0" 0.5.0

5. Push!

```
Expand Down
6 changes: 2 additions & 4 deletions src/functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ use std::sync::OnceLock;
pub fn fileql_std_functions() -> &'static HashMap<&'static str, Function> {
static HASHMAP: OnceLock<HashMap<&'static str, Function>> = OnceLock::new();
HASHMAP.get_or_init(|| {
let mut map: HashMap<&'static str, Function> =
HashMap::from(standard_functions().to_owned());
let mut map: HashMap<&'static str, Function> = standard_functions().to_owned();
map.insert("files_count", files_count);
map
})
Expand All @@ -20,8 +19,7 @@ pub fn fileql_std_functions() -> &'static HashMap<&'static str, Function> {
pub fn fileql_std_signatures() -> &'static HashMap<&'static str, Signature> {
static HASHMAP: OnceLock<HashMap<&'static str, Signature>> = OnceLock::new();
HASHMAP.get_or_init(|| {
let mut map: HashMap<&'static str, Signature> =
HashMap::from(standard_function_signatures().to_owned());
let mut map: HashMap<&'static str, Signature> = standard_function_signatures().to_owned();
map.insert(
"files_count",
Signature {
Expand Down

0 comments on commit 49b1bb5

Please sign in to comment.