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

Question: Slice Usage With Row Macro #128

Open
dfirence opened this issue Jul 20, 2020 · 0 comments
Open

Question: Slice Usage With Row Macro #128

dfirence opened this issue Jul 20, 2020 · 0 comments

Comments

@dfirence
Copy link

dfirence commented Jul 20, 2020

Hi and thanks for this useful lib.

I want to write a function that creates a table dynamically by passing 2 params to the function

pub fn make_table(cols: &[&str], rows: &[&str]) {
    ... Code here ...
}

Does the row macro allow for this?

@dfirence dfirence changed the title Question: Slice Usage With Table Macro Question: Slice Usage With Row Macro Jul 20, 2020
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

1 participant