-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'learn-rust' of https://github.com/okbug/new into learn-…
…rust
- Loading branch information
Showing
118 changed files
with
1,426 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
结论: | ||
Rust中的数组是拷贝 不是引用 | ||
|
||
```rust | ||
fn main() { | ||
let mut arr = [3; 1]; | ||
let mut arr_2 = arr; // 拷贝 不是引用 | ||
arr[0] = 1; | ||
arr_2[0] = 7; | ||
println!("{:?}", arr_2); | ||
println!("{:?}", arr); | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"rustc_fingerprint":15447707494417828285,"outputs":{"931469667778813386":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.dylib\nlib___.dylib\nlib___.a\nlib___.dylib\n/usr/local/Cellar/rust/1.61.0\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_feature=\"sse3\"\ntarget_feature=\"ssse3\"\ntarget_has_atomic=\"128\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_os=\"macos\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"apple\"\nunix\n","stderr":""},"2797684049618456168":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.dylib\nlib___.dylib\nlib___.a\nlib___.dylib\n","stderr":""},"17598535894874457435":{"success":true,"status":"","code":0,"stdout":"rustc 1.61.0\nbinary: rustc\ncommit-hash: unknown\ncommit-date: unknown\nhost: x86_64-apple-darwin\nrelease: 1.61.0\nLLVM version: 14.0.0\n","stderr":""}},"successes":{}} | ||
{"rustc_fingerprint":7829655490143547450,"outputs":{"3376809586958156926":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.dylib\nlib___.dylib\nlib___.a\nlib___.dylib\n/usr/local/Cellar/rust/1.61.0\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_feature=\"sse3\"\ntarget_feature=\"ssse3\"\ntarget_has_atomic=\"128\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_os=\"macos\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"apple\"\nunix\n","stderr":""},"17598535894874457435":{"success":true,"status":"","code":0,"stdout":"rustc 1.61.0\nbinary: rustc\ncommit-hash: unknown\ncommit-date: unknown\nhost: x86_64-apple-darwin\nrelease: 1.61.0\nLLVM version: 14.0.0\n","stderr":""},"5912810005807744388":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.dylib\nlib___.dylib\nlib___.a\nlib___.dylib\n","stderr":""}},"successes":{}} |
1 change: 1 addition & 0 deletions
1
rust-lang/cxwht/target/debug/.fingerprint/cxwht-8aa35d46601a8db9/invoked.timestamp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file has an mtime of when this was started. |
1 change: 1 addition & 0 deletions
1
rust-lang/cxwht/target/debug/.fingerprint/cxwht-8aa35d46601a8db9/test-lib-cxwht
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
c4a58a051098d88a |
1 change: 1 addition & 0 deletions
1
rust-lang/cxwht/target/debug/.fingerprint/cxwht-8aa35d46601a8db9/test-lib-cxwht.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"rustc":2538244180708393667,"features":"[]","target":8386808728764136647,"profile":11506243869495082934,"path":17523903030608720598,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/cxwht-8aa35d46601a8db9/dep-test-lib-cxwht"}}],"rustflags":[],"metadata":1476950466570625534,"config":2202906307356721367,"compile_kind":0} |
1 change: 1 addition & 0 deletions
1
rust-lang/cxwht/target/debug/.fingerprint/cxwht-b0e7440718555ba0/invoked.timestamp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file has an mtime of when this was started. |
1 change: 1 addition & 0 deletions
1
rust-lang/cxwht/target/debug/.fingerprint/cxwht-b0e7440718555ba0/lib-cxwht
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
9a86cefa67095701 |
1 change: 1 addition & 0 deletions
1
rust-lang/cxwht/target/debug/.fingerprint/cxwht-b0e7440718555ba0/lib-cxwht.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"rustc":2538244180708393667,"features":"[]","target":8386808728764136647,"profile":17483045194147818835,"path":17523903030608720598,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/cxwht-b0e7440718555ba0/dep-lib-cxwht"}}],"rustflags":[],"metadata":1476950466570625534,"config":2202906307356721367,"compile_kind":0} |
Binary file not shown.
6 changes: 6 additions & 0 deletions
6
rust-lang/cxwht/target/package/cxwht-0.1.1/.cargo_vcs_info.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"git": { | ||
"sha1": "325bcc24f0fac1df73ed321b42e9a7b8a0e9e8d1" | ||
}, | ||
"path_in_vcs": "rust-lang/cxwht" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO | ||
# | ||
# When uploading crates to the registry Cargo will automatically | ||
# "normalize" Cargo.toml files for maximal compatibility | ||
# with all versions of Cargo and also rewrite `path` dependencies | ||
# to registry (e.g., crates.io) dependencies. | ||
# | ||
# If you are reading this file be aware that the original Cargo.toml | ||
# will likely look very different (and much more reasonable). | ||
# See Cargo.toml.orig for the original contents. | ||
|
||
[package] | ||
edition = "2021" | ||
name = "cxwht" | ||
version = "0.1.1" | ||
description = "a test lib" | ||
license = "MIT" | ||
resolver = "2" | ||
|
||
[dependencies] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/// MOD CWHT IMPL | ||
/// | ||
/// # Examples | ||
/// | ||
/// ``` | ||
/// cxwht::get_url(); | ||
/// ``` | ||
pub mod cxwht { | ||
pub const MESSAGE: &str = "cxwht"; | ||
pub const URL: &str = "https:cxwht.cn"; | ||
|
||
pub fn get_url() { | ||
println!("{}", URL); | ||
} | ||
} | ||
|
||
/// Return A Function To Add | ||
/// | ||
/// # Examples | ||
/// | ||
/// ``` | ||
/// let add_fn = curry_add(1); | ||
/// let sum = add_fn(2); | ||
/// println!("{}", sum); | ||
/// assert_eq!(3, res); | ||
/// ``` | ||
pub fn curry_add(x: i32) { | ||
|y: i32| -> i32 { | ||
x + y | ||
} | ||
} | ||
|
||
/// A Fucntion To Add Two i32 type values | ||
/// | ||
/// # Examples | ||
/// ``` | ||
/// let res = add(1, 3); | ||
/// assert_eq!(4, res); | ||
/// ## Remind | ||
/// This Function Only i32 type free | ||
/// ``` | ||
pub fn add(x: i32, y: i32) -> i32 { | ||
x + y | ||
} |
1 change: 1 addition & 0 deletions
1
rust-lang/cxwht/target/package/cxwht-0.1.1/target/.rustc_info.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"rustc_fingerprint":15447707494417828285,"outputs":{"931469667778813386":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.dylib\nlib___.dylib\nlib___.a\nlib___.dylib\n/usr/local/Cellar/rust/1.61.0\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_feature=\"sse3\"\ntarget_feature=\"ssse3\"\ntarget_has_atomic=\"128\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_os=\"macos\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"apple\"\nunix\n","stderr":""},"2797684049618456168":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.dylib\nlib___.dylib\nlib___.a\nlib___.dylib\n","stderr":""},"17598535894874457435":{"success":true,"status":"","code":0,"stdout":"rustc 1.61.0\nbinary: rustc\ncommit-hash: unknown\ncommit-date: unknown\nhost: x86_64-apple-darwin\nrelease: 1.61.0\nLLVM version: 14.0.0\n","stderr":""}},"successes":{}} |
1 change: 1 addition & 0 deletions
1
rust-lang/cxwht/target/package/cxwht-0.1.1/target/.rustdoc_fingerprint.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"rustc_vv":"rustc 1.61.0\nbinary: rustc\ncommit-hash: unknown\ncommit-date: unknown\nhost: x86_64-apple-darwin\nrelease: 1.61.0\nLLVM version: 14.0.0\n"} |
3 changes: 3 additions & 0 deletions
3
rust-lang/cxwht/target/package/cxwht-0.1.1/target/CACHEDIR.TAG
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Signature: 8a477f597d28d172789f06886806bc55 | ||
# This file is a cache directory tag created by cargo. | ||
# For information about cache directory tags see https://bford.info/cachedir/ |
Empty file.
1 change: 1 addition & 0 deletions
1
...et/package/cxwht-0.1.1/target/debug/.fingerprint/cxwht-02e0d4b6a1927a86/invoked.timestamp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file has an mtime of when this was started. |
1 change: 1 addition & 0 deletions
1
...wht/target/package/cxwht-0.1.1/target/debug/.fingerprint/cxwht-02e0d4b6a1927a86/lib-cxwht
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
d50b224516140a2f |
1 change: 1 addition & 0 deletions
1
...arget/package/cxwht-0.1.1/target/debug/.fingerprint/cxwht-02e0d4b6a1927a86/lib-cxwht.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"rustc":2538244180708393667,"features":"[]","target":8386808728764136647,"profile":17483045194147818835,"path":17523903030608720598,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/cxwht-02e0d4b6a1927a86/dep-lib-cxwht"}}],"rustflags":[],"metadata":1476950466570625534,"config":2202906307356721367,"compile_kind":0} |
1 change: 1 addition & 0 deletions
1
...et/package/cxwht-0.1.1/target/debug/.fingerprint/cxwht-3cbcd826bcdb1bd6/invoked.timestamp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file has an mtime of when this was started. |
1 change: 1 addition & 0 deletions
1
...arget/package/cxwht-0.1.1/target/debug/.fingerprint/cxwht-3cbcd826bcdb1bd6/test-lib-cxwht
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
65b09ed4bec5a25f |
1 change: 1 addition & 0 deletions
1
.../package/cxwht-0.1.1/target/debug/.fingerprint/cxwht-3cbcd826bcdb1bd6/test-lib-cxwht.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"rustc":2538244180708393667,"features":"[]","target":8386808728764136647,"profile":11506243869495082934,"path":17523903030608720598,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/cxwht-3cbcd826bcdb1bd6/dep-test-lib-cxwht"}}],"rustflags":[],"metadata":1476950466570625534,"config":2202906307356721367,"compile_kind":0} |
1 change: 1 addition & 0 deletions
1
...et/package/cxwht-0.1.1/target/debug/.fingerprint/cxwht-5abd0dffcfe75e25/invoked.timestamp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file has an mtime of when this was started. |
3 changes: 3 additions & 0 deletions
3
...get/package/cxwht-0.1.1/target/debug/.fingerprint/cxwht-5abd0dffcfe75e25/output-lib-cxwht
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{"message":"mismatched types","code":{"code":"E0308","explanation":"Expected type did not match the received type.\n\nErroneous code examples:\n\n```compile_fail,E0308\nfn plus_one(x: i32) -> i32 {\n x + 1\n}\n\nplus_one(\"Not a number\");\n// ^^^^^^^^^^^^^^ expected `i32`, found `&str`\n\nif \"Not a bool\" {\n// ^^^^^^^^^^^^ expected `bool`, found `&str`\n}\n\nlet x: f32 = \"Not a float\";\n// --- ^^^^^^^^^^^^^ expected `f32`, found `&str`\n// |\n// expected due to this\n```\n\nThis error occurs when an expression was used in a place where the compiler\nexpected an expression of a different type. It can occur in several cases, the\nmost common being when calling a function and passing an argument which has a\ndifferent type than the matching type in the function declaration.\n"},"level":"error","spans":[{"file_name":"src/lib.rs","byte_start":444,"byte_end":481,"line_start":28,"line_end":30,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":" |y: i32| -> i32 {","highlight_start":5,"highlight_end":22},{"text":" x + y","highlight_start":1,"highlight_end":14},{"text":" }","highlight_start":1,"highlight_end":6}],"label":"expected `()`, found closure","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"expected unit type `()`\n found closure `[closure@src/lib.rs:28:5: 30:6]`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"a return type might be missing here","code":null,"level":"help","spans":[{"file_name":"src/lib.rs","byte_start":438,"byte_end":438,"line_start":27,"line_end":27,"column_start":26,"column_end":26,"is_primary":true,"text":[{"text":"pub fn curry_add(x: i32) {","highlight_start":26,"highlight_end":26}],"label":null,"suggested_replacement":"-> _ ","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[38;5;9merror[E0308]\u001b[0m\u001b[0m\u001b[1m: mismatched types\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0msrc/lib.rs:28:5\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m27\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0mpub fn curry_add(x: i32) {\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m-\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12mhelp: a return type might be missing here: `-> _`\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m28\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;9m/\u001b[0m\u001b[0m \u001b[0m\u001b[0m |y: i32| -> i32 {\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m29\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;9m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m x + y\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m30\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;9m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m }\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;9m|_____^\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;9mexpected `()`, found closure\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mnote\u001b[0m\u001b[0m: expected unit type `\u001b[0m\u001b[0m\u001b[1m()\u001b[0m\u001b[0m`\u001b[0m\n\u001b[0m found closure `\u001b[0m\u001b[0m\u001b[1m[closure@src/lib.rs:28:5: 30:6]\u001b[0m\u001b[0m`\u001b[0m\n\n"} | ||
{"message":"aborting due to previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[38;5;9merror\u001b[0m\u001b[0m\u001b[1m: aborting due to previous error\u001b[0m\n\n"} | ||
{"message":"For more information about this error, try `rustc --explain E0308`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1mFor more information about this error, try `rustc --explain E0308`.\u001b[0m\n"} |
1 change: 1 addition & 0 deletions
1
...target/package/cxwht-0.1.1/target/debug/.fingerprint/cxwht-d3238698dca9084e/doc-lib-cxwht
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
a4012560b8b0e8d1 |
1 change: 1 addition & 0 deletions
1
...t/package/cxwht-0.1.1/target/debug/.fingerprint/cxwht-d3238698dca9084e/doc-lib-cxwht.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"rustc":2538244180708393667,"features":"[]","target":8386808728764136647,"profile":8364103326337895566,"path":17523903030608720598,"deps":[],"local":[{"Precalculated":"1661743230.434886151s (target/.rustdoc_fingerprint.json)"}],"rustflags":[],"metadata":1476950466570625534,"config":2202906307356721367,"compile_kind":0} |
7 changes: 7 additions & 0 deletions
7
rust-lang/cxwht/target/package/cxwht-0.1.1/target/debug/deps/cxwht-5abd0dffcfe75e25.d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/Users/bytedance/Desktop/study/new/rust-lang/cxwht/target/package/cxwht-0.1.1/target/debug/deps/cxwht-5abd0dffcfe75e25.rmeta: src/lib.rs | ||
|
||
/Users/bytedance/Desktop/study/new/rust-lang/cxwht/target/package/cxwht-0.1.1/target/debug/deps/libcxwht-5abd0dffcfe75e25.rlib: src/lib.rs | ||
|
||
/Users/bytedance/Desktop/study/new/rust-lang/cxwht/target/package/cxwht-0.1.1/target/debug/deps/cxwht-5abd0dffcfe75e25.d: src/lib.rs | ||
|
||
src/lib.rs: |
Binary file added
BIN
+259 KB
...rget/debug/incremental/cxwht-c0r7om1w8l8c/s-gd1edlhrhl-1iy8uiw-working/dep-graph.part.bin
Binary file not shown.
Empty file.
Empty file.
50 changes: 50 additions & 0 deletions
50
rust-lang/cxwht/target/package/cxwht-0.1.1/target/doc/COPYRIGHT.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
These documentation pages include resources by third parties. This copyright | ||
file applies only to those resources. The following third party resources are | ||
included, and carry their own copyright notices and license terms: | ||
|
||
* Fira Sans (FiraSans-Regular.woff2, FiraSans-Medium.woff2, | ||
FiraSans-Regular.woff, FiraSans-Medium.woff): | ||
|
||
Copyright (c) 2014, Mozilla Foundation https://mozilla.org/ | ||
with Reserved Font Name Fira Sans. | ||
|
||
Copyright (c) 2014, Telefonica S.A. | ||
|
||
Licensed under the SIL Open Font License, Version 1.1. | ||
See FiraSans-LICENSE.txt. | ||
|
||
* rustdoc.css, main.js, and playpen.js: | ||
|
||
Copyright 2015 The Rust Developers. | ||
Licensed under the Apache License, Version 2.0 (see LICENSE-APACHE.txt) or | ||
the MIT license (LICENSE-MIT.txt) at your option. | ||
|
||
* normalize.css: | ||
|
||
Copyright (c) Nicolas Gallagher and Jonathan Neal. | ||
Licensed under the MIT license (see LICENSE-MIT.txt). | ||
|
||
* Source Code Pro (SourceCodePro-Regular.ttf.woff2, | ||
SourceCodePro-Semibold.ttf.woff2, SourceCodePro-It.ttf.woff2, | ||
SourceCodePro-Regular.ttf.woff, SourceCodePro-Semibold.ttf.woff, | ||
SourceCodePro-It.ttf.woff): | ||
|
||
Copyright 2010, 2012 Adobe Systems Incorporated (https://www.adobe.com/), | ||
with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark | ||
of Adobe Systems Incorporated in the United States and/or other countries. | ||
|
||
Licensed under the SIL Open Font License, Version 1.1. | ||
See SourceCodePro-LICENSE.txt. | ||
|
||
* Source Serif 4 (SourceSerif4-Regular.ttf.woff2, SourceSerif4-Bold.ttf.woff2, | ||
SourceSerif4-It.ttf.woff2, SourceSerif4-Regular.ttf.woff, | ||
SourceSerif4-Bold.ttf.woff, SourceSerif4-It.ttf.woff): | ||
|
||
Copyright 2014-2021 Adobe (https://www.adobe.com/), with Reserved Font Name | ||
'Source'. All Rights Reserved. Source is a trademark of Adobe in the United | ||
States and/or other countries. | ||
|
||
Licensed under the SIL Open Font License, Version 1.1. | ||
See SourceSerif4-LICENSE.md. | ||
|
||
This copyright file is intended to be distributed with rustdoc output. |
94 changes: 94 additions & 0 deletions
94
rust-lang/cxwht/target/package/cxwht-0.1.1/target/doc/FiraSans-LICENSE.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
Digitized data copyright (c) 2012-2015, The Mozilla Foundation and Telefonica S.A. | ||
with Reserved Font Name < Fira >, | ||
|
||
This Font Software is licensed under the SIL Open Font License, Version 1.1. | ||
This license is copied below, and is also available with a FAQ at: | ||
https://scripts.sil.org/OFL | ||
|
||
|
||
----------------------------------------------------------- | ||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 | ||
----------------------------------------------------------- | ||
|
||
PREAMBLE | ||
The goals of the Open Font License (OFL) are to stimulate worldwide | ||
development of collaborative font projects, to support the font creation | ||
efforts of academic and linguistic communities, and to provide a free and | ||
open framework in which fonts may be shared and improved in partnership | ||
with others. | ||
|
||
The OFL allows the licensed fonts to be used, studied, modified and | ||
redistributed freely as long as they are not sold by themselves. The | ||
fonts, including any derivative works, can be bundled, embedded, | ||
redistributed and/or sold with any software provided that any reserved | ||
names are not used by derivative works. The fonts and derivatives, | ||
however, cannot be released under any other type of license. The | ||
requirement for fonts to remain under this license does not apply | ||
to any document created using the fonts or their derivatives. | ||
|
||
DEFINITIONS | ||
"Font Software" refers to the set of files released by the Copyright | ||
Holder(s) under this license and clearly marked as such. This may | ||
include source files, build scripts and documentation. | ||
|
||
"Reserved Font Name" refers to any names specified as such after the | ||
copyright statement(s). | ||
|
||
"Original Version" refers to the collection of Font Software components as | ||
distributed by the Copyright Holder(s). | ||
|
||
"Modified Version" refers to any derivative made by adding to, deleting, | ||
or substituting -- in part or in whole -- any of the components of the | ||
Original Version, by changing formats or by porting the Font Software to a | ||
new environment. | ||
|
||
"Author" refers to any designer, engineer, programmer, technical | ||
writer or other person who contributed to the Font Software. | ||
|
||
PERMISSION & CONDITIONS | ||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of the Font Software, to use, study, copy, merge, embed, modify, | ||
redistribute, and sell modified and unmodified copies of the Font | ||
Software, subject to the following conditions: | ||
|
||
1) Neither the Font Software nor any of its individual components, | ||
in Original or Modified Versions, may be sold by itself. | ||
|
||
2) Original or Modified Versions of the Font Software may be bundled, | ||
redistributed and/or sold with any software, provided that each copy | ||
contains the above copyright notice and this license. These can be | ||
included either as stand-alone text files, human-readable headers or | ||
in the appropriate machine-readable metadata fields within text or | ||
binary files as long as those fields can be easily viewed by the user. | ||
|
||
3) No Modified Version of the Font Software may use the Reserved Font | ||
Name(s) unless explicit written permission is granted by the corresponding | ||
Copyright Holder. This restriction only applies to the primary font name as | ||
presented to the users. | ||
|
||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font | ||
Software shall not be used to promote, endorse or advertise any | ||
Modified Version, except to acknowledge the contribution(s) of the | ||
Copyright Holder(s) and the Author(s) or with their explicit written | ||
permission. | ||
|
||
5) The Font Software, modified or unmodified, in part or in whole, | ||
must be distributed entirely under this license, and must not be | ||
distributed under any other license. The requirement for fonts to | ||
remain under this license does not apply to any document created | ||
using the Font Software. | ||
|
||
TERMINATION | ||
This license becomes null and void if any of the above conditions are | ||
not met. | ||
|
||
DISCLAIMER | ||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT | ||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE | ||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL | ||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM | ||
OTHER DEALINGS IN THE FONT SOFTWARE. |
Binary file added
BIN
+182 KB
rust-lang/cxwht/target/package/cxwht-0.1.1/target/doc/FiraSans-Medium.woff
Binary file not shown.
Binary file added
BIN
+130 KB
rust-lang/cxwht/target/package/cxwht-0.1.1/target/doc/FiraSans-Medium.woff2
Binary file not shown.
Binary file added
BIN
+179 KB
rust-lang/cxwht/target/package/cxwht-0.1.1/target/doc/FiraSans-Regular.woff
Binary file not shown.
Binary file added
BIN
+126 KB
rust-lang/cxwht/target/package/cxwht-0.1.1/target/doc/FiraSans-Regular.woff2
Binary file not shown.
Oops, something went wrong.