Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Async updates and reformatting for new exercise#2216

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Polycarbohydrate wants to merge2 commits intorust-lang:main
base:main
Choose a base branch
Loading
fromPolycarbohydrate:rustlings-async-addition

Conversation

@Polycarbohydrate
Copy link

  • Renamed/ordered the directories for macros, clippy, and conversions, shifting them all one up in numerical order to fit async as number 21
  • Added the 21_async directories in exercises and solutions
  • Added async1.rs in the 21_async directory in exercises and solutions
  • Added async to the info.toml in rustlings-macros and reordered the rest of the exercises in there as well
  • Created an exercise for async1 and its solution

The first exercise demonstrates the concept of adding theasync keyword to the function signature to declare the function as asynchronous. It introduces thetokio crate with itssleep function and uses futures withawait.

- Renamed/ordered the directories for macros, clippy, and conversions, shifting them all one up in numerical order to fit async as number 21- Added the 21_async directories in exercises and solutions- Added async1.rs in the 21_async directory in exercises and solutions- Added async to the info.toml in rustlings-macros and reordered the rest of the exercises in there as well- Created an exercise for async1 and its solution
Added new line to end of README to pass the format job
@Polycarbohydrate
Copy link
Author

Polycarbohydrate commentedMar 8, 2025
edited
Loading

I saw the file indev\Cargo.toml and knew the file would be updated by runningcargo run -- dev update but checking the Contributing.md (which is extremely outdated), it did not state to run that command then pushing those files into the repository.

Should I runcargo run -- dev update then add the updatedCargo.toml to the repository?

@PolycarbohydratePolycarbohydrate mentioned this pull requestMar 8, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@Polycarbohydrate

[8]ページ先頭

©2009-2025 Movatter.jp