Merge pull request #1 from jackmacaa/local

init
This commit is contained in:
jackmacaa 2023-06-21 12:23:47 +09:30 committed by GitHub
commit 96ae27b84f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
161 changed files with 31 additions and 23 deletions

0
.all-contributorsrc Normal file → Executable file
View File

0
.devcontainer/devcontainer.json Normal file → Executable file
View File

0
.editorconfig Normal file → Executable file
View File

0
.github/workflows/lint.yml vendored Normal file → Executable file
View File

0
.github/workflows/rust.yml vendored Normal file → Executable file
View File

0
.gitignore vendored Normal file → Executable file
View File

0
.gitpod.yml Normal file → Executable file
View File

0
.markdownlint.yml Normal file → Executable file
View File

0
.vscode/extensions.json vendored Normal file → Executable file
View File

0
AUTHORS.md Normal file → Executable file
View File

0
CHANGELOG.md Normal file → Executable file
View File

0
CONTRIBUTING.md Normal file → Executable file
View File

0
Cargo.lock generated Normal file → Executable file
View File

0
Cargo.toml Normal file → Executable file
View File

0
LICENSE Normal file → Executable file
View File

0
README.md Normal file → Executable file
View File

0
exercises/README.md Normal file → Executable file
View File

0
exercises/clippy/README.md Normal file → Executable file
View File

0
exercises/clippy/clippy1.rs Normal file → Executable file
View File

0
exercises/clippy/clippy2.rs Normal file → Executable file
View File

0
exercises/clippy/clippy3.rs Normal file → Executable file
View File

0
exercises/conversions/README.md Normal file → Executable file
View File

0
exercises/conversions/as_ref_mut.rs Normal file → Executable file
View File

0
exercises/conversions/from_into.rs Normal file → Executable file
View File

0
exercises/conversions/from_str.rs Normal file → Executable file
View File

0
exercises/conversions/try_from_into.rs Normal file → Executable file
View File

0
exercises/conversions/using_as.rs Normal file → Executable file
View File

0
exercises/enums/README.md Normal file → Executable file
View File

0
exercises/enums/enums1.rs Normal file → Executable file
View File

0
exercises/enums/enums2.rs Normal file → Executable file
View File

0
exercises/enums/enums3.rs Normal file → Executable file
View File

0
exercises/error_handling/README.md Normal file → Executable file
View File

0
exercises/error_handling/errors1.rs Normal file → Executable file
View File

0
exercises/error_handling/errors2.rs Normal file → Executable file
View File

0
exercises/error_handling/errors3.rs Normal file → Executable file
View File

0
exercises/error_handling/errors4.rs Normal file → Executable file
View File

0
exercises/error_handling/errors5.rs Normal file → Executable file
View File

0
exercises/error_handling/errors6.rs Normal file → Executable file
View File

0
exercises/functions/README.md Normal file → Executable file
View File

5
exercises/functions/functions1.rs Normal file → Executable file
View File

@ -3,8 +3,11 @@
// Execute `rustlings hint functions1` or use the `hint` watch subcommand for a
// hint.
// I AM NOT DONE
fn main() {
call_me();
}
fn call_me() -> i32 {
5
}

8
exercises/functions/functions2.rs Normal file → Executable file
View File

@ -3,14 +3,14 @@
// Execute `rustlings hint functions2` or use the `hint` watch subcommand for a
// hint.
// I AM NOT DONE
fn main() {
call_me(3);
}
fn call_me(num:) {
fn call_me(num: i32) {
for i in 0..num {
println!("Ring! Call number {}", i + 1);
}
}
}

3
exercises/functions/functions3.rs Normal file → Executable file
View File

@ -6,7 +6,8 @@
// I AM NOT DONE
fn main() {
call_me();
call_me(1);
}
fn call_me(num: u32) {

0
exercises/functions/functions4.rs Normal file → Executable file
View File

0
exercises/functions/functions5.rs Normal file → Executable file
View File

0
exercises/generics/README.md Normal file → Executable file
View File

0
exercises/generics/generics1.rs Normal file → Executable file
View File

0
exercises/generics/generics2.rs Normal file → Executable file
View File

0
exercises/hashmaps/README.md Normal file → Executable file
View File

0
exercises/hashmaps/hashmaps1.rs Normal file → Executable file
View File

0
exercises/hashmaps/hashmaps2.rs Normal file → Executable file
View File

0
exercises/hashmaps/hashmaps3.rs Normal file → Executable file
View File

0
exercises/if/README.md Normal file → Executable file
View File

0
exercises/if/if1.rs Normal file → Executable file
View File

0
exercises/if/if2.rs Normal file → Executable file
View File

0
exercises/intro/README.md Normal file → Executable file
View File

1
exercises/intro/intro1.rs Normal file → Executable file
View File

@ -13,7 +13,6 @@
// Execute `rustlings hint intro1` or use the `hint` watch subcommand for a
// hint.
// I AM NOT DONE
fn main() {
println!("Hello and");

5
exercises/intro/intro2.rs Normal file → Executable file
View File

@ -5,8 +5,9 @@
// Execute `rustlings hint intro2` or use the `hint` watch subcommand for a
// hint.
// I AM NOT DONE
fn main() {
println!("Hello {}!");
let word = "worlds";
println!("Hello {word}!");
}

0
exercises/iterators/README.md Normal file → Executable file
View File

0
exercises/iterators/iterators1.rs Normal file → Executable file
View File

0
exercises/iterators/iterators2.rs Normal file → Executable file
View File

0
exercises/iterators/iterators3.rs Normal file → Executable file
View File

0
exercises/iterators/iterators4.rs Normal file → Executable file
View File

0
exercises/iterators/iterators5.rs Normal file → Executable file
View File

0
exercises/lifetimes/README.md Normal file → Executable file
View File

0
exercises/lifetimes/lifetimes1.rs Normal file → Executable file
View File

0
exercises/lifetimes/lifetimes2.rs Normal file → Executable file
View File

0
exercises/lifetimes/lifetimes3.rs Normal file → Executable file
View File

0
exercises/macros/README.md Normal file → Executable file
View File

0
exercises/macros/macros1.rs Normal file → Executable file
View File

0
exercises/macros/macros2.rs Normal file → Executable file
View File

0
exercises/macros/macros3.rs Normal file → Executable file
View File

0
exercises/macros/macros4.rs Normal file → Executable file
View File

0
exercises/modules/README.md Normal file → Executable file
View File

0
exercises/modules/modules1.rs Normal file → Executable file
View File

0
exercises/modules/modules2.rs Normal file → Executable file
View File

0
exercises/modules/modules3.rs Normal file → Executable file
View File

0
exercises/move_semantics/README.md Normal file → Executable file
View File

0
exercises/move_semantics/move_semantics1.rs Normal file → Executable file
View File

0
exercises/move_semantics/move_semantics2.rs Normal file → Executable file
View File

0
exercises/move_semantics/move_semantics3.rs Normal file → Executable file
View File

0
exercises/move_semantics/move_semantics4.rs Normal file → Executable file
View File

0
exercises/move_semantics/move_semantics5.rs Normal file → Executable file
View File

0
exercises/move_semantics/move_semantics6.rs Normal file → Executable file
View File

0
exercises/options/README.md Normal file → Executable file
View File

0
exercises/options/options1.rs Normal file → Executable file
View File

0
exercises/options/options2.rs Normal file → Executable file
View File

0
exercises/options/options3.rs Normal file → Executable file
View File

0
exercises/primitive_types/README.md Normal file → Executable file
View File

0
exercises/primitive_types/primitive_types1.rs Normal file → Executable file
View File

0
exercises/primitive_types/primitive_types2.rs Normal file → Executable file
View File

0
exercises/primitive_types/primitive_types3.rs Normal file → Executable file
View File

0
exercises/primitive_types/primitive_types4.rs Normal file → Executable file
View File

0
exercises/primitive_types/primitive_types5.rs Normal file → Executable file
View File

0
exercises/primitive_types/primitive_types6.rs Normal file → Executable file
View File

0
exercises/quiz1.rs Normal file → Executable file
View File

0
exercises/quiz2.rs Normal file → Executable file
View File

0
exercises/quiz3.rs Normal file → Executable file
View File

0
exercises/smart_pointers/README.md Normal file → Executable file
View File

0
exercises/smart_pointers/arc1.rs Normal file → Executable file
View File

0
exercises/smart_pointers/box1.rs Normal file → Executable file
View File

Some files were not shown because too many files have changed in this diff Show More