Skip to content

Commit ec64735

Browse files
committed
更新目录
1 parent 02e0a8e commit ec64735

File tree

5 files changed

+16
-14
lines changed

5 files changed

+16
-14
lines changed

.gitignore

-11
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,2 @@
1-
# Generated by Cargo
2-
# will have compiled files and executables
3-
/target/
4-
5-
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
6-
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
7-
Cargo.lock
8-
9-
# These are backup files generated by rustfmt
10-
**/*.rs.bk
11-
121
/.idea/
132
/.vscode/

04_httpie/.gitignore

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Generated by Cargo
2+
# will have compiled files and executables
3+
/target/
4+
5+
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
6+
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
7+
Cargo.lock
8+
9+
# These are backup files generated by rustfmt
10+
**/*.rs.bk
11+
12+
/.idea/
13+
/.vscode/

Cargo.toml 04_httpie/Cargo.toml

File renamed without changes.

src/main.rs 04_httpie/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ mod tests {
186186
#[test]
187187
fn parse_url_works() {
188188
assert!(parse_url("abc").is_err());
189-
assert!(parse_url("http://abc.xyz").is_ok());
189+
assert!(parse_url("https://abc.xyz").is_ok());
190190
assert!(parse_url("https://httpbin.org/post").is_ok());
191191
}
192192

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# httpie-rust
2-
httpie rust
1+
# rust-learn
2+
rust learn

0 commit comments

Comments
 (0)