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

Add returning Vec<T> or Vec<some struct> examlpes? #66

Open
piaojin opened this issue Jun 28, 2018 · 1 comment
Open

Add returning Vec<T> or Vec<some struct> examlpes? #66

piaojin opened this issue Jun 28, 2018 · 1 comment

Comments

@piaojin
Copy link

piaojin commented Jun 28, 2018

I have known how to return Vec via example 'vector_return'. But it is hard for me to derive returning Vec or Vec.

@jhg
Copy link

jhg commented Dec 25, 2020

@piaojin, I'm not sure what is the example that you want. The vector_return example currently use a Vec, check where it does counted: Vec<_> = and replace _ with the type.

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