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

i added rust #21

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

i added rust #21

wants to merge 6 commits into from

Conversation

luongalex06
Copy link

Pull Request Template

Description

Please include a summary of the changes and the language you are adding or modifying.

Checklist

  • My code follows the project's coding style and guidelines.
  • I have tested my implementation to ensure it works as expected.
  • I have included a Makefile if applicable.
  • I have added a README file for the new language implementation.
  • I have updated the .github/workflows/test.yml file to include the new language in the list of languages to test.
  • I have included any dependencies required for the new language implementation in the test workflow.
  • I have reviewed and understood the code before submitting (for AI-generated submissions).

Related Issue

Please link to any related issues here.

Type of Change

  • New language implementation
  • Bug fix
  • Documentation update
  • Other (please describe):

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.

Screenshots (if applicable)

If applicable, add screenshots to help explain your changes.

Additional Information

Add any other information about your pull request here.

Contributing

To contribute to this project, please see the CONTRIBUTING.md file.

License

This project is licensed under the MIT License. For more information, please see the LICENSE file.

Copy link
Owner

@zachflower zachflower left a comment

Choose a reason for hiding this comment

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

Looks good Alex! Just a few tweaks (double check the main README for verification):

  • Check the casing on the hello world output in hello.rs
  • Change the directory to rs
  • Update the .github/workflows/test.yml file and add an entry for rs (installation steps, and execution steps for testing)

rust/hello.rs Outdated
@@ -0,0 +1,3 @@
fn main() {
println!("Hello, World!");
Copy link
Owner

Choose a reason for hiding this comment

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

Looks good! Double check the documentation, the casing and punctuation isn't quite what's been asked for here

## Usage

```rs
cargo run
Copy link
Owner

Choose a reason for hiding this comment

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

I haven't worked with Rust yet, is cargo shipped with it?

Copy link
Author

Choose a reason for hiding this comment

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

It is a tool that you would have to download

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

Successfully merging this pull request may close these issues.

2 participants