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

Similar methods #186

Closed
ollyde opened this issue May 10, 2024 · 3 comments
Closed

Similar methods #186

ollyde opened this issue May 10, 2024 · 3 comments

Comments

@ollyde
Copy link

ollyde commented May 10, 2024

I don't understand why such a simple library has to be over extended and complex.

I mean for example, to get a string from words.

let description: Vec<String> = Words(0..50).fake();
let description = description.join(" ");

Why couldn't this be

let description = Words(0..50).fake();

@cksac
Copy link
Owner

cksac commented May 10, 2024

Maybe Sentence(count: Range); is what you want?
Sentence(1).fake()

@ollyde
Copy link
Author

ollyde commented May 10, 2024

Indeed thanks for the speedy reply. Just similar methods hehe.

@cksac
Copy link
Owner

cksac commented May 10, 2024

you can view it as convenient function, you can use words if it serve you well.

@cksac cksac closed this as completed May 10, 2024
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

No branches or pull requests

2 participants