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

fix(vec): Correct typo in Vec macro #1812

Closed
wants to merge 1 commit into from

Conversation

giantcow
Copy link

@giantcow giantcow commented Feb 3, 2024

Just a little type I noticed

@rustbot
Copy link
Collaborator

rustbot commented Feb 3, 2024

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @marioidival (or someone else) soon.

@marioidival
Copy link
Member

Hello @RyoshiKayo I appreciate you opening the PR. Your change is invalid because it includes a compiler error.

   Compiling playground v0.0.1 (/playground)
error[E0423]: expected value, found builtin type `i32`
 --> src/main.rs:7:23
  |
7 |     let mut xs = vec![i32, 2, 3];
  |                       ^^^ not a value
  |

This is the reason why I will be closing this PR

@marioidival marioidival closed this Feb 3, 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

Successfully merging this pull request may close these issues.

3 participants