Skip to content

December Cleanup#23

Merged
nickamzol merged 11 commits intomainfrom
dev/2024-12-11-cleanup
Dec 12, 2024
Merged

December Cleanup#23
nickamzol merged 11 commits intomainfrom
dev/2024-12-11-cleanup

Conversation

@nickamzol
Copy link
Member

@nickamzol nickamzol commented Dec 12, 2024

A small maintenance pull request:

@nickamzol nickamzol added documentation Improvements or additions to documentation enhancement labels Dec 12, 2024
@nickamzol nickamzol self-assigned this Dec 12, 2024
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

.collect::<Vec<serde_json::Value>>(),
))
Json(serde_json::Value::Array(
aets.into_iter()

Check warning

Code scanning / clippy

this .into_iter() call is equivalent to .iter() and will not consume the Vec Warning

this .into_iter() call is equivalent to .iter() and will not consume the Vec
.collect::<Vec<serde_json::Value>>(),
))
Json(serde_json::Value::Array(
aets.into_iter()

Check warning

Code scanning / clippy

this .into_iter() call is equivalent to .iter() and will not consume the Vec Warning

this .into_iter() call is equivalent to .iter() and will not consume the Vec
))
Json(serde_json::Value::Array(
aets.into_iter()
.map(|ae| serde_json::Value::String(ae.aet.to_owned()))

Check warning

Code scanning / clippy

implicitly cloning a String by calling to_owned on its dereferenced type Warning

implicitly cloning a String by calling to_owned on its dereferenced type
))
Json(serde_json::Value::Array(
aets.into_iter()
.map(|ae| serde_json::Value::String(ae.aet.to_owned()))

Check warning

Code scanning / clippy

implicitly cloning a String by calling to_owned on its dereferenced type Warning

implicitly cloning a String by calling to_owned on its dereferenced type
@nickamzol nickamzol merged commit 6837f13 into main Dec 12, 2024
2 checks passed
@nickamzol nickamzol deleted the dev/2024-12-11-cleanup branch December 12, 2024 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant