Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requested feature, detect for loops over turf contents #330

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

spookydonut
Copy link
Collaborator

@spookydonut spookydonut commented Jul 10, 2022

todo: add test cases

@@ -120,6 +120,10 @@ impl Config {
Ok(toml::from_str(&config_toml)?)
}

pub fn read_toml_string(toml: String) -> Result<Config, Error> {
Ok(toml::from_str(&toml)?)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this takes &str, presumably so could the chain that calls it, rather than requiring config.to_string() in the tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants