Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
23
38
source_dataset
stringclasses
1 value
source_split
stringclasses
1 value
source_index
int64
0
113k
language
stringclasses
1 value
variant
stringclasses
4 values
instruction
stringclasses
2 values
input
stringlengths
1
1.39M
output
stringlengths
8
1.39M
prompt
stringlengths
71
1.39M
completion
stringlengths
8
1.39M
messages
listlengths
2
2
original_message
stringlengths
8
1.39M
minimized_message
stringlengths
1
1.13M
train-0-message_to_diff
jedisct1/rust
train
0
Rust
message_to_diff
Write a Rust code diff that implements the following commit message.
release v1.0.2
diff --git a/Cargo.toml b/Cargo.toml index 2b1d258..59e8d21 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "1.0.1" +version = "1.0.2" authors = ["Actyx AG <developer@actyx.io>"] edition = "2021" description = "A tool for enlisting the compiler's help in proving ...
Write a Rust code diff that implements the following commit message. release v1.0.2
diff --git a/Cargo.toml b/Cargo.toml index 2b1d258..59e8d21 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "1.0.1" +version = "1.0.2" authors = ["Actyx AG <developer@actyx.io>"] edition = "2021" description = "A tool for enlisting the compiler's help in proving ...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nrelease v1.0.2" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex 2b1d258..59e8d21 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -1,6 +1,6 @@\n [package]\n name ...
release v1.0.2
release v1.0.2
train-0-diff_to_message
jedisct1/rust
train
0
Rust
diff_to_message
Write a concise commit message that explains the following Rust code diff.
diff --git a/Cargo.toml b/Cargo.toml index 2b1d258..59e8d21 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "1.0.1" +version = "1.0.2" authors = ["Actyx AG <developer@actyx.io>"] edition = "2021" description = "A tool for enlisting the compiler's help in proving ...
release v1.0.2
Write a concise commit message that explains the following Rust code diff. diff --git a/Cargo.toml b/Cargo.toml index 2b1d258..59e8d21 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "1.0.1" +version = "1.0.2" authors = ["Actyx AG <developer@actyx.io>"] edition =...
release v1.0.2
[ { "role": "user", "content": "Write a concise commit message that explains the following Rust code diff.\n\ndiff --git a/Cargo.toml b/Cargo.toml\nindex 2b1d258..59e8d21 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -1,6 +1,6 @@\n [package]\n name = \"sync_wrapper\"\n-version = \"1.0.1\"\n+version = \"1.0.2...
release v1.0.2
release v1.0.2
train-0-minimized_message_to_diff
jedisct1/rust
train
0
Rust
minimized_message_to_diff
Write a Rust code diff that implements the following commit message.
release v1.0.2
diff --git a/Cargo.toml b/Cargo.toml index 2b1d258..59e8d21 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "1.0.1" +version = "1.0.2" authors = ["Actyx AG <developer@actyx.io>"] edition = "2021" description = "A tool for enlisting the compiler's help in proving ...
Write a Rust code diff that implements the following commit message. release v1.0.2
diff --git a/Cargo.toml b/Cargo.toml index 2b1d258..59e8d21 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "1.0.1" +version = "1.0.2" authors = ["Actyx AG <developer@actyx.io>"] edition = "2021" description = "A tool for enlisting the compiler's help in proving ...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nrelease v1.0.2" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex 2b1d258..59e8d21 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -1,6 +1,6 @@\n [package]\n name ...
release v1.0.2
release v1.0.2
train-0-message_to_shuffled_diff
jedisct1/rust
train
0
Rust
message_to_shuffled_diff
Write a Rust code diff that implements the following commit message.
release v1.0.2
diff --git a/Cargo.toml b/Cargo.toml index 2b1d258..59e8d21 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "1.0.1" +version = "1.0.2" authors = ["Actyx AG <developer@actyx.io>"] edition = "2021" description = "A tool for enlisting the compiler's help in proving ...
Write a Rust code diff that implements the following commit message. release v1.0.2
diff --git a/Cargo.toml b/Cargo.toml index 2b1d258..59e8d21 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "1.0.1" +version = "1.0.2" authors = ["Actyx AG <developer@actyx.io>"] edition = "2021" description = "A tool for enlisting the compiler's help in proving ...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nrelease v1.0.2" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex 2b1d258..59e8d21 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -1,6 +1,6 @@\n [package]\n name ...
release v1.0.2
release v1.0.2
train-1-message_to_diff
jedisct1/rust
train
1
Rust
message_to_diff
Write a Rust code diff that implements the following commit message.
Implement Debug for SyncFuture and SyncStream
diff --git a/src/lib.rs b/src/lib.rs index 2800d9a..a508e2f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -212,6 +212,11 @@ impl <F: Future> Future for SyncFuture<F> { inner.poll(cx) } } +impl<T> Debug for SyncFuture<T> { + fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { + f.pad("SyncFuture...
Write a Rust code diff that implements the following commit message. Implement Debug for SyncFuture and SyncStream
diff --git a/src/lib.rs b/src/lib.rs index 2800d9a..a508e2f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -212,6 +212,11 @@ impl <F: Future> Future for SyncFuture<F> { inner.poll(cx) } } +impl<T> Debug for SyncFuture<T> { + fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { + f.pad("SyncFuture...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nImplement Debug for SyncFuture and SyncStream" }, { "role": "assistant", "content": "diff --git a/src/lib.rs b/src/lib.rs\nindex 2800d9a..a508e2f 100644\n--- a/src/lib.rs\n+++ b/src/lib.rs\n@@ -...
Implement Debug for SyncFuture and SyncStream
Implement Debug SyncFuture SyncStream
train-1-diff_to_message
jedisct1/rust
train
1
Rust
diff_to_message
Write a concise commit message that explains the following Rust code diff.
diff --git a/src/lib.rs b/src/lib.rs index 2800d9a..a508e2f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -212,6 +212,11 @@ impl <F: Future> Future for SyncFuture<F> { inner.poll(cx) } } +impl<T> Debug for SyncFuture<T> { + fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { + f.pad("SyncFuture...
Implement Debug for SyncFuture and SyncStream
Write a concise commit message that explains the following Rust code diff. diff --git a/src/lib.rs b/src/lib.rs index 2800d9a..a508e2f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -212,6 +212,11 @@ impl <F: Future> Future for SyncFuture<F> { inner.poll(cx) } } +impl<T> Debug for SyncFuture<T> { + fn f...
Implement Debug for SyncFuture and SyncStream
[ { "role": "user", "content": "Write a concise commit message that explains the following Rust code diff.\n\ndiff --git a/src/lib.rs b/src/lib.rs\nindex 2800d9a..a508e2f 100644\n--- a/src/lib.rs\n+++ b/src/lib.rs\n@@ -212,6 +212,11 @@ impl <F: Future> Future for SyncFuture<F> {\n inner.poll(cx)\n ...
Implement Debug for SyncFuture and SyncStream
Implement Debug SyncFuture SyncStream
train-1-minimized_message_to_diff
jedisct1/rust
train
1
Rust
minimized_message_to_diff
Write a Rust code diff that implements the following commit message.
Implement Debug SyncFuture SyncStream
diff --git a/src/lib.rs b/src/lib.rs index 2800d9a..a508e2f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -212,6 +212,11 @@ impl <F: Future> Future for SyncFuture<F> { inner.poll(cx) } } +impl<T> Debug for SyncFuture<T> { + fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { + f.pad("SyncFuture...
Write a Rust code diff that implements the following commit message. Implement Debug SyncFuture SyncStream
diff --git a/src/lib.rs b/src/lib.rs index 2800d9a..a508e2f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -212,6 +212,11 @@ impl <F: Future> Future for SyncFuture<F> { inner.poll(cx) } } +impl<T> Debug for SyncFuture<T> { + fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { + f.pad("SyncFuture...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nImplement Debug SyncFuture SyncStream" }, { "role": "assistant", "content": "diff --git a/src/lib.rs b/src/lib.rs\nindex 2800d9a..a508e2f 100644\n--- a/src/lib.rs\n+++ b/src/lib.rs\n@@ -212,6 +2...
Implement Debug for SyncFuture and SyncStream
Implement Debug SyncFuture SyncStream
train-1-message_to_shuffled_diff
jedisct1/rust
train
1
Rust
message_to_shuffled_diff
Write a Rust code diff that implements the following commit message.
Implement Debug for SyncFuture and SyncStream
diff --git a/src/lib.rs b/src/lib.rs index 2800d9a..a508e2f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -212,6 +212,11 @@ impl <F: Future> Future for SyncFuture<F> { inner.poll(cx) } } +impl<T> Debug for SyncFuture<T> { + fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { + f.pad("SyncFuture...
Write a Rust code diff that implements the following commit message. Implement Debug for SyncFuture and SyncStream
diff --git a/src/lib.rs b/src/lib.rs index 2800d9a..a508e2f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -212,6 +212,11 @@ impl <F: Future> Future for SyncFuture<F> { inner.poll(cx) } } +impl<T> Debug for SyncFuture<T> { + fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { + f.pad("SyncFuture...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nImplement Debug for SyncFuture and SyncStream" }, { "role": "assistant", "content": "diff --git a/src/lib.rs b/src/lib.rs\nindex 2800d9a..a508e2f 100644\n--- a/src/lib.rs\n+++ b/src/lib.rs\n@@ -...
Implement Debug for SyncFuture and SyncStream
Implement Debug SyncFuture SyncStream
train-2-message_to_diff
jedisct1/rust
train
2
Rust
message_to_diff
Write a Rust code diff that implements the following commit message.
switch to edition 2021 and all-features
diff --git a/Cargo.toml b/Cargo.toml index c0209a1..2b1d258 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "sync_wrapper" version = "1.0.1" authors = ["Actyx AG <developer@actyx.io>"] -edition = "2018" +edition = "2021" description = "A tool for enlisting the compiler's help in proving the absence ...
Write a Rust code diff that implements the following commit message. switch to edition 2021 and all-features
diff --git a/Cargo.toml b/Cargo.toml index c0209a1..2b1d258 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "sync_wrapper" version = "1.0.1" authors = ["Actyx AG <developer@actyx.io>"] -edition = "2018" +edition = "2021" description = "A tool for enlisting the compiler's help in proving the absence ...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nswitch to edition 2021 and all-features" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex c0209a1..2b1d258 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -2,7 +2...
switch to edition 2021 and all-features
switch edition 2021 all-features
train-2-diff_to_message
jedisct1/rust
train
2
Rust
diff_to_message
Write a concise commit message that explains the following Rust code diff.
diff --git a/Cargo.toml b/Cargo.toml index c0209a1..2b1d258 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "sync_wrapper" version = "1.0.1" authors = ["Actyx AG <developer@actyx.io>"] -edition = "2018" +edition = "2021" description = "A tool for enlisting the compiler's help in proving the absence ...
switch to edition 2021 and all-features
Write a concise commit message that explains the following Rust code diff. diff --git a/Cargo.toml b/Cargo.toml index c0209a1..2b1d258 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "sync_wrapper" version = "1.0.1" authors = ["Actyx AG <developer@actyx.io>"] -edition = "2018" +edition = "2021" des...
switch to edition 2021 and all-features
[ { "role": "user", "content": "Write a concise commit message that explains the following Rust code diff.\n\ndiff --git a/Cargo.toml b/Cargo.toml\nindex c0209a1..2b1d258 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -2,7 +2,7 @@\n name = \"sync_wrapper\"\n version = \"1.0.1\"\n authors = [\"Actyx AG <develo...
switch to edition 2021 and all-features
switch edition 2021 all-features
train-2-minimized_message_to_diff
jedisct1/rust
train
2
Rust
minimized_message_to_diff
Write a Rust code diff that implements the following commit message.
switch edition 2021 all-features
diff --git a/Cargo.toml b/Cargo.toml index c0209a1..2b1d258 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "sync_wrapper" version = "1.0.1" authors = ["Actyx AG <developer@actyx.io>"] -edition = "2018" +edition = "2021" description = "A tool for enlisting the compiler's help in proving the absence ...
Write a Rust code diff that implements the following commit message. switch edition 2021 all-features
diff --git a/Cargo.toml b/Cargo.toml index c0209a1..2b1d258 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "sync_wrapper" version = "1.0.1" authors = ["Actyx AG <developer@actyx.io>"] -edition = "2018" +edition = "2021" description = "A tool for enlisting the compiler's help in proving the absence ...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nswitch edition 2021 all-features" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex c0209a1..2b1d258 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -2,7 +2,7 @@\n...
switch to edition 2021 and all-features
switch edition 2021 all-features
train-2-message_to_shuffled_diff
jedisct1/rust
train
2
Rust
message_to_shuffled_diff
Write a Rust code diff that implements the following commit message.
switch to edition 2021 and all-features
diff --git a/Cargo.toml b/Cargo.toml index c0209a1..2b1d258 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "sync_wrapper" version = "1.0.1" authors = ["Actyx AG <developer@actyx.io>"] -edition = "2018" +edition = "2021" description = "A tool for enlisting the compiler's help in proving the absence ...
Write a Rust code diff that implements the following commit message. switch to edition 2021 and all-features
diff --git a/Cargo.toml b/Cargo.toml index c0209a1..2b1d258 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "sync_wrapper" version = "1.0.1" authors = ["Actyx AG <developer@actyx.io>"] -edition = "2018" +edition = "2021" description = "A tool for enlisting the compiler's help in proving the absence ...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nswitch to edition 2021 and all-features" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex c0209a1..2b1d258 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -2,7 +2...
switch to edition 2021 and all-features
switch edition 2021 all-features
train-3-message_to_diff
jedisct1/rust
train
3
Rust
message_to_diff
Write a Rust code diff that implements the following commit message.
release 1.0.1
diff --git a/Cargo.toml b/Cargo.toml index e7a9049..c0209a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "1.0.0" +version = "1.0.1" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler's help in proving ...
Write a Rust code diff that implements the following commit message. release 1.0.1
diff --git a/Cargo.toml b/Cargo.toml index e7a9049..c0209a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "1.0.0" +version = "1.0.1" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler's help in proving ...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nrelease 1.0.1" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex e7a9049..c0209a1 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -1,6 +1,6 @@\n [package]\n name =...
release 1.0.1
release 1.0.1
train-3-diff_to_message
jedisct1/rust
train
3
Rust
diff_to_message
Write a concise commit message that explains the following Rust code diff.
diff --git a/Cargo.toml b/Cargo.toml index e7a9049..c0209a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "1.0.0" +version = "1.0.1" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler's help in proving ...
release 1.0.1
Write a concise commit message that explains the following Rust code diff. diff --git a/Cargo.toml b/Cargo.toml index e7a9049..c0209a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "1.0.0" +version = "1.0.1" authors = ["Actyx AG <developer@actyx.io>"] edition =...
release 1.0.1
[ { "role": "user", "content": "Write a concise commit message that explains the following Rust code diff.\n\ndiff --git a/Cargo.toml b/Cargo.toml\nindex e7a9049..c0209a1 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -1,6 +1,6 @@\n [package]\n name = \"sync_wrapper\"\n-version = \"1.0.0\"\n+version = \"1.0.1...
release 1.0.1
release 1.0.1
train-3-minimized_message_to_diff
jedisct1/rust
train
3
Rust
minimized_message_to_diff
Write a Rust code diff that implements the following commit message.
release 1.0.1
diff --git a/Cargo.toml b/Cargo.toml index e7a9049..c0209a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "1.0.0" +version = "1.0.1" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler's help in proving ...
Write a Rust code diff that implements the following commit message. release 1.0.1
diff --git a/Cargo.toml b/Cargo.toml index e7a9049..c0209a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "1.0.0" +version = "1.0.1" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler's help in proving ...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nrelease 1.0.1" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex e7a9049..c0209a1 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -1,6 +1,6 @@\n [package]\n name =...
release 1.0.1
release 1.0.1
train-3-message_to_shuffled_diff
jedisct1/rust
train
3
Rust
message_to_shuffled_diff
Write a Rust code diff that implements the following commit message.
release 1.0.1
diff --git a/Cargo.toml b/Cargo.toml index e7a9049..c0209a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "1.0.0" +version = "1.0.1" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler's help in proving ...
Write a Rust code diff that implements the following commit message. release 1.0.1
diff --git a/Cargo.toml b/Cargo.toml index e7a9049..c0209a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "1.0.0" +version = "1.0.1" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler's help in proving ...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nrelease 1.0.1" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex e7a9049..c0209a1 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -1,6 +1,6 @@\n [package]\n name =...
release 1.0.1
release 1.0.1
train-4-message_to_diff
jedisct1/rust
train
4
Rust
message_to_diff
Write a Rust code diff that implements the following commit message.
Enable `futures` feature in docs.rs build
diff --git a/Cargo.toml b/Cargo.toml index 10e3e24..e7a9049 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,3 +21,7 @@ futures = { version = "0.3" } [dependencies] futures-core = { version = "0.3", default-features = false, optional = true } + +[package.metadata.docs.rs] +features = ["futures"] +
Write a Rust code diff that implements the following commit message. Enable `futures` feature in docs.rs build
diff --git a/Cargo.toml b/Cargo.toml index 10e3e24..e7a9049 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,3 +21,7 @@ futures = { version = "0.3" } [dependencies] futures-core = { version = "0.3", default-features = false, optional = true } + +[package.metadata.docs.rs] +features = ["futures"] +
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nEnable `futures` feature in docs.rs build" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex 10e3e24..e7a9049 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -21,3...
Enable `futures` feature in docs.rs build
Enable `futures` feature docs.rs build
train-4-diff_to_message
jedisct1/rust
train
4
Rust
diff_to_message
Write a concise commit message that explains the following Rust code diff.
diff --git a/Cargo.toml b/Cargo.toml index 10e3e24..e7a9049 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,3 +21,7 @@ futures = { version = "0.3" } [dependencies] futures-core = { version = "0.3", default-features = false, optional = true } + +[package.metadata.docs.rs] +features = ["futures"] +
Enable `futures` feature in docs.rs build
Write a concise commit message that explains the following Rust code diff. diff --git a/Cargo.toml b/Cargo.toml index 10e3e24..e7a9049 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,3 +21,7 @@ futures = { version = "0.3" } [dependencies] futures-core = { version = "0.3", default-features = false, optional = true ...
Enable `futures` feature in docs.rs build
[ { "role": "user", "content": "Write a concise commit message that explains the following Rust code diff.\n\ndiff --git a/Cargo.toml b/Cargo.toml\nindex 10e3e24..e7a9049 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -21,3 +21,7 @@ futures = { version = \"0.3\" }\n \n [dependencies]\n futures-core = { versio...
Enable `futures` feature in docs.rs build
Enable `futures` feature docs.rs build
train-4-minimized_message_to_diff
jedisct1/rust
train
4
Rust
minimized_message_to_diff
Write a Rust code diff that implements the following commit message.
Enable `futures` feature docs.rs build
diff --git a/Cargo.toml b/Cargo.toml index 10e3e24..e7a9049 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,3 +21,7 @@ futures = { version = "0.3" } [dependencies] futures-core = { version = "0.3", default-features = false, optional = true } + +[package.metadata.docs.rs] +features = ["futures"] +
Write a Rust code diff that implements the following commit message. Enable `futures` feature docs.rs build
diff --git a/Cargo.toml b/Cargo.toml index 10e3e24..e7a9049 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,3 +21,7 @@ futures = { version = "0.3" } [dependencies] futures-core = { version = "0.3", default-features = false, optional = true } + +[package.metadata.docs.rs] +features = ["futures"] +
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nEnable `futures` feature docs.rs build" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex 10e3e24..e7a9049 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -21,3 +2...
Enable `futures` feature in docs.rs build
Enable `futures` feature docs.rs build
train-4-message_to_shuffled_diff
jedisct1/rust
train
4
Rust
message_to_shuffled_diff
Write a Rust code diff that implements the following commit message.
Enable `futures` feature in docs.rs build
diff --git a/Cargo.toml b/Cargo.toml index 10e3e24..e7a9049 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,3 +21,7 @@ futures = { version = "0.3" } [dependencies] futures-core = { version = "0.3", default-features = false, optional = true } + +[package.metadata.docs.rs] +features = ["futures"] +
Write a Rust code diff that implements the following commit message. Enable `futures` feature in docs.rs build
diff --git a/Cargo.toml b/Cargo.toml index 10e3e24..e7a9049 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,3 +21,7 @@ futures = { version = "0.3" } [dependencies] futures-core = { version = "0.3", default-features = false, optional = true } + +[package.metadata.docs.rs] +features = ["futures"] +
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nEnable `futures` feature in docs.rs build" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex 10e3e24..e7a9049 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -21,3...
Enable `futures` feature in docs.rs build
Enable `futures` feature docs.rs build
train-5-message_to_diff
jedisct1/rust
train
5
Rust
message_to_diff
Write a Rust code diff that implements the following commit message.
release 1.0.0
diff --git a/Cargo.toml b/Cargo.toml index 678b869..10e3e24 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "0.1.2" +version = "1.0.0" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler's help in proving ...
Write a Rust code diff that implements the following commit message. release 1.0.0
diff --git a/Cargo.toml b/Cargo.toml index 678b869..10e3e24 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "0.1.2" +version = "1.0.0" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler's help in proving ...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nrelease 1.0.0" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex 678b869..10e3e24 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -1,6 +1,6 @@\n [package]\n name =...
release 1.0.0
release 1.0.0
train-5-diff_to_message
jedisct1/rust
train
5
Rust
diff_to_message
Write a concise commit message that explains the following Rust code diff.
diff --git a/Cargo.toml b/Cargo.toml index 678b869..10e3e24 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "0.1.2" +version = "1.0.0" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler's help in proving ...
release 1.0.0
Write a concise commit message that explains the following Rust code diff. diff --git a/Cargo.toml b/Cargo.toml index 678b869..10e3e24 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "0.1.2" +version = "1.0.0" authors = ["Actyx AG <developer@actyx.io>"] edition =...
release 1.0.0
[ { "role": "user", "content": "Write a concise commit message that explains the following Rust code diff.\n\ndiff --git a/Cargo.toml b/Cargo.toml\nindex 678b869..10e3e24 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -1,6 +1,6 @@\n [package]\n name = \"sync_wrapper\"\n-version = \"0.1.2\"\n+version = \"1.0.0...
release 1.0.0
release 1.0.0
train-5-minimized_message_to_diff
jedisct1/rust
train
5
Rust
minimized_message_to_diff
Write a Rust code diff that implements the following commit message.
release 1.0.0
diff --git a/Cargo.toml b/Cargo.toml index 678b869..10e3e24 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "0.1.2" +version = "1.0.0" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler's help in proving ...
Write a Rust code diff that implements the following commit message. release 1.0.0
diff --git a/Cargo.toml b/Cargo.toml index 678b869..10e3e24 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "0.1.2" +version = "1.0.0" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler's help in proving ...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nrelease 1.0.0" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex 678b869..10e3e24 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -1,6 +1,6 @@\n [package]\n name =...
release 1.0.0
release 1.0.0
train-5-message_to_shuffled_diff
jedisct1/rust
train
5
Rust
message_to_shuffled_diff
Write a Rust code diff that implements the following commit message.
release 1.0.0
diff --git a/Cargo.toml b/Cargo.toml index 678b869..10e3e24 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "0.1.2" +version = "1.0.0" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler's help in proving ...
Write a Rust code diff that implements the following commit message. release 1.0.0
diff --git a/Cargo.toml b/Cargo.toml index 678b869..10e3e24 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "0.1.2" +version = "1.0.0" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler's help in proving ...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nrelease 1.0.0" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex 678b869..10e3e24 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -1,6 +1,6 @@\n [package]\n name =...
release 1.0.0
release 1.0.0
train-6-message_to_diff
jedisct1/rust
train
6
Rust
message_to_diff
Write a Rust code diff that implements the following commit message.
style: replace the smartquote in Cargo.toml with a standard apostrophe
diff --git a/Cargo.toml b/Cargo.toml index 22aa494..678b869 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "sync_wrapper" version = "0.1.2" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" -description = "A tool for enlisting the compiler’s help in proving the absence of concurrency" +de...
Write a Rust code diff that implements the following commit message. style: replace the smartquote in Cargo.toml with a standard apostrophe
diff --git a/Cargo.toml b/Cargo.toml index 22aa494..678b869 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "sync_wrapper" version = "0.1.2" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" -description = "A tool for enlisting the compiler’s help in proving the absence of concurrency" +de...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nstyle: replace the smartquote in Cargo.toml with a standard apostrophe" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex 22aa494..678b869 100644\n--- a/Cargo.tom...
style: replace the smartquote in Cargo.toml with a standard apostrophe
style: replace smartquote Cargo.toml standard apostrophe
train-6-diff_to_message
jedisct1/rust
train
6
Rust
diff_to_message
Write a concise commit message that explains the following Rust code diff.
diff --git a/Cargo.toml b/Cargo.toml index 22aa494..678b869 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "sync_wrapper" version = "0.1.2" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" -description = "A tool for enlisting the compiler’s help in proving the absence of concurrency" +de...
style: replace the smartquote in Cargo.toml with a standard apostrophe
Write a concise commit message that explains the following Rust code diff. diff --git a/Cargo.toml b/Cargo.toml index 22aa494..678b869 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "sync_wrapper" version = "0.1.2" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" -description = "A tool ...
style: replace the smartquote in Cargo.toml with a standard apostrophe
[ { "role": "user", "content": "Write a concise commit message that explains the following Rust code diff.\n\ndiff --git a/Cargo.toml b/Cargo.toml\nindex 22aa494..678b869 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -3,7 +3,7 @@ name = \"sync_wrapper\"\n version = \"0.1.2\"\n authors = [\"Actyx AG <develope...
style: replace the smartquote in Cargo.toml with a standard apostrophe
style: replace smartquote Cargo.toml standard apostrophe
train-6-minimized_message_to_diff
jedisct1/rust
train
6
Rust
minimized_message_to_diff
Write a Rust code diff that implements the following commit message.
style: replace smartquote Cargo.toml standard apostrophe
diff --git a/Cargo.toml b/Cargo.toml index 22aa494..678b869 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "sync_wrapper" version = "0.1.2" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" -description = "A tool for enlisting the compiler’s help in proving the absence of concurrency" +de...
Write a Rust code diff that implements the following commit message. style: replace smartquote Cargo.toml standard apostrophe
diff --git a/Cargo.toml b/Cargo.toml index 22aa494..678b869 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "sync_wrapper" version = "0.1.2" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" -description = "A tool for enlisting the compiler’s help in proving the absence of concurrency" +de...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nstyle: replace smartquote Cargo.toml standard apostrophe" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex 22aa494..678b869 100644\n--- a/Cargo.toml\n+++ b/Cargo...
style: replace the smartquote in Cargo.toml with a standard apostrophe
style: replace smartquote Cargo.toml standard apostrophe
train-6-message_to_shuffled_diff
jedisct1/rust
train
6
Rust
message_to_shuffled_diff
Write a Rust code diff that implements the following commit message.
style: replace the smartquote in Cargo.toml with a standard apostrophe
diff --git a/Cargo.toml b/Cargo.toml index 22aa494..678b869 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "sync_wrapper" version = "0.1.2" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" -description = "A tool for enlisting the compiler’s help in proving the absence of concurrency" +de...
Write a Rust code diff that implements the following commit message. style: replace the smartquote in Cargo.toml with a standard apostrophe
diff --git a/Cargo.toml b/Cargo.toml index 22aa494..678b869 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "sync_wrapper" version = "0.1.2" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" -description = "A tool for enlisting the compiler’s help in proving the absence of concurrency" +de...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nstyle: replace the smartquote in Cargo.toml with a standard apostrophe" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex 22aa494..678b869 100644\n--- a/Cargo.tom...
style: replace the smartquote in Cargo.toml with a standard apostrophe
style: replace smartquote Cargo.toml standard apostrophe
train-7-message_to_diff
jedisct1/rust
train
7
Rust
message_to_diff
Write a Rust code diff that implements the following commit message.
make futures-core dep optional and release 0.1.2
diff --git a/Cargo.toml b/Cargo.toml index 6fffa06..22aa494 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "0.1.1" +version = "0.1.2" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler’s help in proving ...
Write a Rust code diff that implements the following commit message. make futures-core dep optional and release 0.1.2
diff --git a/Cargo.toml b/Cargo.toml index 6fffa06..22aa494 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "0.1.1" +version = "0.1.2" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler’s help in proving ...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nmake futures-core dep optional and release 0.1.2" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex 6fffa06..22aa494 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@...
make futures-core dep optional and release 0.1.2
make futures-core dep optional release 0.1.2
train-7-diff_to_message
jedisct1/rust
train
7
Rust
diff_to_message
Write a concise commit message that explains the following Rust code diff.
diff --git a/Cargo.toml b/Cargo.toml index 6fffa06..22aa494 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "0.1.1" +version = "0.1.2" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler’s help in proving ...
make futures-core dep optional and release 0.1.2
Write a concise commit message that explains the following Rust code diff. diff --git a/Cargo.toml b/Cargo.toml index 6fffa06..22aa494 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "0.1.1" +version = "0.1.2" authors = ["Actyx AG <developer@actyx.io>"] edition =...
make futures-core dep optional and release 0.1.2
[ { "role": "user", "content": "Write a concise commit message that explains the following Rust code diff.\n\ndiff --git a/Cargo.toml b/Cargo.toml\nindex 6fffa06..22aa494 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -1,6 +1,6 @@\n [package]\n name = \"sync_wrapper\"\n-version = \"0.1.1\"\n+version = \"0.1.2...
make futures-core dep optional and release 0.1.2
make futures-core dep optional release 0.1.2
train-7-minimized_message_to_diff
jedisct1/rust
train
7
Rust
minimized_message_to_diff
Write a Rust code diff that implements the following commit message.
make futures-core dep optional release 0.1.2
diff --git a/Cargo.toml b/Cargo.toml index 6fffa06..22aa494 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "0.1.1" +version = "0.1.2" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler’s help in proving ...
Write a Rust code diff that implements the following commit message. make futures-core dep optional release 0.1.2
diff --git a/Cargo.toml b/Cargo.toml index 6fffa06..22aa494 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sync_wrapper" -version = "0.1.1" +version = "0.1.2" authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler’s help in proving ...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nmake futures-core dep optional release 0.1.2" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex 6fffa06..22aa494 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -1...
make futures-core dep optional and release 0.1.2
make futures-core dep optional release 0.1.2
train-7-message_to_shuffled_diff
jedisct1/rust
train
7
Rust
message_to_shuffled_diff
Write a Rust code diff that implements the following commit message.
make futures-core dep optional and release 0.1.2
diff --git a/src/lib.rs b/src/lib.rs index aa5ec88..2800d9a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -224,9 +224,11 @@ impl <F: Future> Future for SyncFuture<F> { /// let st = stream::iter(vec![1]); /// let st = SyncStream::new(st); /// ``` +#[cfg(feature = "futures")] pub struct SyncStream<S> { inner: Sync...
Write a Rust code diff that implements the following commit message. make futures-core dep optional and release 0.1.2
diff --git a/src/lib.rs b/src/lib.rs index aa5ec88..2800d9a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -224,9 +224,11 @@ impl <F: Future> Future for SyncFuture<F> { /// let st = stream::iter(vec![1]); /// let st = SyncStream::new(st); /// ``` +#[cfg(feature = "futures")] pub struct SyncStream<S> { inner: Sync...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nmake futures-core dep optional and release 0.1.2" }, { "role": "assistant", "content": "diff --git a/src/lib.rs b/src/lib.rs\nindex aa5ec88..2800d9a 100644\n--- a/src/lib.rs\n+++ b/src/lib.rs\n@...
make futures-core dep optional and release 0.1.2
make futures-core dep optional release 0.1.2
train-8-message_to_diff
jedisct1/rust
train
8
Rust
message_to_diff
Write a Rust code diff that implements the following commit message.
add default wrapper implementations (#1)
diff --git a/Cargo.toml b/Cargo.toml index 93e28e7..6fffa06 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,3 +14,7 @@ categories = ["concurrency"] [dev-dependencies] pin-project-lite = "0.2.7" +futures = { version = "0.3" } + +[dependencies] +futures-core = { version = "0.3", default-features = false } \ No newlin...
Write a Rust code diff that implements the following commit message. add default wrapper implementations (#1)
diff --git a/Cargo.toml b/Cargo.toml index 93e28e7..6fffa06 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,3 +14,7 @@ categories = ["concurrency"] [dev-dependencies] pin-project-lite = "0.2.7" +futures = { version = "0.3" } + +[dependencies] +futures-core = { version = "0.3", default-features = false } \ No newlin...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nadd default wrapper implementations (#1)" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex 93e28e7..6fffa06 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -14,3 ...
add default wrapper implementations (#1)
add default wrapper implementations (#1)
train-8-diff_to_message
jedisct1/rust
train
8
Rust
diff_to_message
Write a concise commit message that explains the following Rust code diff.
diff --git a/Cargo.toml b/Cargo.toml index 93e28e7..6fffa06 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,3 +14,7 @@ categories = ["concurrency"] [dev-dependencies] pin-project-lite = "0.2.7" +futures = { version = "0.3" } + +[dependencies] +futures-core = { version = "0.3", default-features = false } \ No newlin...
add default wrapper implementations (#1)
Write a concise commit message that explains the following Rust code diff. diff --git a/Cargo.toml b/Cargo.toml index 93e28e7..6fffa06 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,3 +14,7 @@ categories = ["concurrency"] [dev-dependencies] pin-project-lite = "0.2.7" +futures = { version = "0.3" } + +[dependencie...
add default wrapper implementations (#1)
[ { "role": "user", "content": "Write a concise commit message that explains the following Rust code diff.\n\ndiff --git a/Cargo.toml b/Cargo.toml\nindex 93e28e7..6fffa06 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -14,3 +14,7 @@ categories = [\"concurrency\"]\n \n [dev-dependencies]\n pin-project-lite = \...
add default wrapper implementations (#1)
add default wrapper implementations (#1)
train-8-minimized_message_to_diff
jedisct1/rust
train
8
Rust
minimized_message_to_diff
Write a Rust code diff that implements the following commit message.
add default wrapper implementations (#1)
diff --git a/Cargo.toml b/Cargo.toml index 93e28e7..6fffa06 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,3 +14,7 @@ categories = ["concurrency"] [dev-dependencies] pin-project-lite = "0.2.7" +futures = { version = "0.3" } + +[dependencies] +futures-core = { version = "0.3", default-features = false } \ No newlin...
Write a Rust code diff that implements the following commit message. add default wrapper implementations (#1)
diff --git a/Cargo.toml b/Cargo.toml index 93e28e7..6fffa06 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,3 +14,7 @@ categories = ["concurrency"] [dev-dependencies] pin-project-lite = "0.2.7" +futures = { version = "0.3" } + +[dependencies] +futures-core = { version = "0.3", default-features = false } \ No newlin...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nadd default wrapper implementations (#1)" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex 93e28e7..6fffa06 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -14,3 ...
add default wrapper implementations (#1)
add default wrapper implementations (#1)
train-8-message_to_shuffled_diff
jedisct1/rust
train
8
Rust
message_to_shuffled_diff
Write a Rust code diff that implements the following commit message.
add default wrapper implementations (#1)
diff --git a/src/lib.rs b/src/lib.rs index 37874e1..aa5ec88 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -23,6 +23,8 @@ use core::{ fmt::{self, Debug, Formatter}, pin::Pin, + future::Future, + task::{Context, Poll}, }; /// A mutual exclusion primitive that relies on static type information only @@ -...
Write a Rust code diff that implements the following commit message. add default wrapper implementations (#1)
diff --git a/src/lib.rs b/src/lib.rs index 37874e1..aa5ec88 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -23,6 +23,8 @@ use core::{ fmt::{self, Debug, Formatter}, pin::Pin, + future::Future, + task::{Context, Poll}, }; /// A mutual exclusion primitive that relies on static type information only @@ -...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nadd default wrapper implementations (#1)" }, { "role": "assistant", "content": "diff --git a/src/lib.rs b/src/lib.rs\nindex 37874e1..aa5ec88 100644\n--- a/src/lib.rs\n+++ b/src/lib.rs\n@@ -23,6 ...
add default wrapper implementations (#1)
add default wrapper implementations (#1)
train-9-message_to_diff
jedisct1/rust
train
9
Rust
message_to_diff
Write a Rust code diff that implements the following commit message.
Link to repository in Cargo.toml
diff --git a/Cargo.toml b/Cargo.toml index 4e2d988..280fc67 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,7 @@ authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler’s help in proving the absence of concurrency" readme = "README.md" +repository = "https://...
Write a Rust code diff that implements the following commit message. Link to repository in Cargo.toml
diff --git a/Cargo.toml b/Cargo.toml index 4e2d988..280fc67 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,7 @@ authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler’s help in proving the absence of concurrency" readme = "README.md" +repository = "https://...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nLink to repository in Cargo.toml" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex 4e2d988..280fc67 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -5,6 +5,7 @@ a...
Link to repository in Cargo.toml
Link repository Cargo.toml
train-9-diff_to_message
jedisct1/rust
train
9
Rust
diff_to_message
Write a concise commit message that explains the following Rust code diff.
diff --git a/Cargo.toml b/Cargo.toml index 4e2d988..280fc67 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,7 @@ authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler’s help in proving the absence of concurrency" readme = "README.md" +repository = "https://...
Link to repository in Cargo.toml
Write a concise commit message that explains the following Rust code diff. diff --git a/Cargo.toml b/Cargo.toml index 4e2d988..280fc67 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,7 @@ authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler’s help in provi...
Link to repository in Cargo.toml
[ { "role": "user", "content": "Write a concise commit message that explains the following Rust code diff.\n\ndiff --git a/Cargo.toml b/Cargo.toml\nindex 4e2d988..280fc67 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -5,6 +5,7 @@ authors = [\"Actyx AG <developer@actyx.io>\"]\n edition = \"2018\"\n descriptio...
Link to repository in Cargo.toml
Link repository Cargo.toml
train-9-minimized_message_to_diff
jedisct1/rust
train
9
Rust
minimized_message_to_diff
Write a Rust code diff that implements the following commit message.
Link repository Cargo.toml
diff --git a/Cargo.toml b/Cargo.toml index 4e2d988..280fc67 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,7 @@ authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler’s help in proving the absence of concurrency" readme = "README.md" +repository = "https://...
Write a Rust code diff that implements the following commit message. Link repository Cargo.toml
diff --git a/Cargo.toml b/Cargo.toml index 4e2d988..280fc67 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,7 @@ authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler’s help in proving the absence of concurrency" readme = "README.md" +repository = "https://...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nLink repository Cargo.toml" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex 4e2d988..280fc67 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -5,6 +5,7 @@ authors...
Link to repository in Cargo.toml
Link repository Cargo.toml
train-9-message_to_shuffled_diff
jedisct1/rust
train
9
Rust
message_to_shuffled_diff
Write a Rust code diff that implements the following commit message.
Link to repository in Cargo.toml
diff --git a/Cargo.toml b/Cargo.toml index 4e2d988..280fc67 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,7 @@ authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler’s help in proving the absence of concurrency" readme = "README.md" +repository = "https://...
Write a Rust code diff that implements the following commit message. Link to repository in Cargo.toml
diff --git a/Cargo.toml b/Cargo.toml index 4e2d988..280fc67 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,7 @@ authors = ["Actyx AG <developer@actyx.io>"] edition = "2018" description = "A tool for enlisting the compiler’s help in proving the absence of concurrency" readme = "README.md" +repository = "https://...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nLink to repository in Cargo.toml" }, { "role": "assistant", "content": "diff --git a/Cargo.toml b/Cargo.toml\nindex 4e2d988..280fc67 100644\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -5,6 +5,7 @@ a...
Link to repository in Cargo.toml
Link repository Cargo.toml
train-10-message_to_diff
jedisct1/rust
train
10
Rust
message_to_diff
Write a Rust code diff that implements the following commit message.
Make library no_std
diff --git a/src/lib.rs b/src/lib.rs index 31c2eef..50ee779 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -18,6 +18,7 @@ //! This library is inspired by [this discussion](https://internals.rust-lang.org/t/what-shall-sync-mean-across-an-await/12020/2). #![doc(html_logo_url = "https://developer.actyx.com/img/logo.svg")] ...
Write a Rust code diff that implements the following commit message. Make library no_std
diff --git a/src/lib.rs b/src/lib.rs index 31c2eef..50ee779 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -18,6 +18,7 @@ //! This library is inspired by [this discussion](https://internals.rust-lang.org/t/what-shall-sync-mean-across-an-await/12020/2). #![doc(html_logo_url = "https://developer.actyx.com/img/logo.svg")] ...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nMake library no_std" }, { "role": "assistant", "content": "diff --git a/src/lib.rs b/src/lib.rs\nindex 31c2eef..50ee779 100644\n--- a/src/lib.rs\n+++ b/src/lib.rs\n@@ -18,6 +18,7 @@\n //! This l...
Make library no_std
Make library nostd
train-10-diff_to_message
jedisct1/rust
train
10
Rust
diff_to_message
Write a concise commit message that explains the following Rust code diff.
diff --git a/src/lib.rs b/src/lib.rs index 31c2eef..50ee779 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -18,6 +18,7 @@ //! This library is inspired by [this discussion](https://internals.rust-lang.org/t/what-shall-sync-mean-across-an-await/12020/2). #![doc(html_logo_url = "https://developer.actyx.com/img/logo.svg")] ...
Make library no_std
Write a concise commit message that explains the following Rust code diff. diff --git a/src/lib.rs b/src/lib.rs index 31c2eef..50ee779 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -18,6 +18,7 @@ //! This library is inspired by [this discussion](https://internals.rust-lang.org/t/what-shall-sync-mean-across-an-await/120...
Make library no_std
[ { "role": "user", "content": "Write a concise commit message that explains the following Rust code diff.\n\ndiff --git a/src/lib.rs b/src/lib.rs\nindex 31c2eef..50ee779 100644\n--- a/src/lib.rs\n+++ b/src/lib.rs\n@@ -18,6 +18,7 @@\n //! This library is inspired by [this discussion](https://internals.rust-la...
Make library no_std
Make library nostd
train-10-minimized_message_to_diff
jedisct1/rust
train
10
Rust
minimized_message_to_diff
Write a Rust code diff that implements the following commit message.
Make library nostd
diff --git a/src/lib.rs b/src/lib.rs index 31c2eef..50ee779 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -18,6 +18,7 @@ //! This library is inspired by [this discussion](https://internals.rust-lang.org/t/what-shall-sync-mean-across-an-await/12020/2). #![doc(html_logo_url = "https://developer.actyx.com/img/logo.svg")] ...
Write a Rust code diff that implements the following commit message. Make library nostd
diff --git a/src/lib.rs b/src/lib.rs index 31c2eef..50ee779 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -18,6 +18,7 @@ //! This library is inspired by [this discussion](https://internals.rust-lang.org/t/what-shall-sync-mean-across-an-await/12020/2). #![doc(html_logo_url = "https://developer.actyx.com/img/logo.svg")] ...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nMake library nostd" }, { "role": "assistant", "content": "diff --git a/src/lib.rs b/src/lib.rs\nindex 31c2eef..50ee779 100644\n--- a/src/lib.rs\n+++ b/src/lib.rs\n@@ -18,6 +18,7 @@\n //! This li...
Make library no_std
Make library nostd
train-10-message_to_shuffled_diff
jedisct1/rust
train
10
Rust
message_to_shuffled_diff
Write a Rust code diff that implements the following commit message.
Make library no_std
diff --git a/src/lib.rs b/src/lib.rs index 31c2eef..50ee779 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -18,6 +18,7 @@ //! This library is inspired by [this discussion](https://internals.rust-lang.org/t/what-shall-sync-mean-across-an-await/12020/2). #![doc(html_logo_url = "https://developer.actyx.com/img/logo.svg")] ...
Write a Rust code diff that implements the following commit message. Make library no_std
diff --git a/src/lib.rs b/src/lib.rs index 31c2eef..50ee779 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -18,6 +18,7 @@ //! This library is inspired by [this discussion](https://internals.rust-lang.org/t/what-shall-sync-mean-across-an-await/12020/2). #![doc(html_logo_url = "https://developer.actyx.com/img/logo.svg")] ...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nMake library no_std" }, { "role": "assistant", "content": "diff --git a/src/lib.rs b/src/lib.rs\nindex 31c2eef..50ee779 100644\n--- a/src/lib.rs\n+++ b/src/lib.rs\n@@ -18,6 +18,7 @@\n //! This l...
Make library no_std
Make library nostd
train-11-message_to_diff
jedisct1/rust
train
11
Rust
message_to_diff
Write a Rust code diff that implements the following commit message.
Implement `From<T>` for `SyncWrapper<T>`
diff --git a/src/lib.rs b/src/lib.rs index 3b9a43a..33f75ab 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -138,3 +138,9 @@ impl<T: Default> Default for SyncWrapper<T> { Self::new(T::default()) } } + +impl<T> From<T> for SyncWrapper<T> { + fn from(value: T) -> Self { + Self::new(value) + } +}
Write a Rust code diff that implements the following commit message. Implement `From<T>` for `SyncWrapper<T>`
diff --git a/src/lib.rs b/src/lib.rs index 3b9a43a..33f75ab 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -138,3 +138,9 @@ impl<T: Default> Default for SyncWrapper<T> { Self::new(T::default()) } } + +impl<T> From<T> for SyncWrapper<T> { + fn from(value: T) -> Self { + Self::new(value) + } +}
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nImplement `From<T>` for `SyncWrapper<T>`" }, { "role": "assistant", "content": "diff --git a/src/lib.rs b/src/lib.rs\nindex 3b9a43a..33f75ab 100644\n--- a/src/lib.rs\n+++ b/src/lib.rs\n@@ -138,3...
Implement `From<T>` for `SyncWrapper<T>`
Implement `<T>` `SyncWrapper<T>`
train-11-diff_to_message
jedisct1/rust
train
11
Rust
diff_to_message
Write a concise commit message that explains the following Rust code diff.
diff --git a/src/lib.rs b/src/lib.rs index 3b9a43a..33f75ab 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -138,3 +138,9 @@ impl<T: Default> Default for SyncWrapper<T> { Self::new(T::default()) } } + +impl<T> From<T> for SyncWrapper<T> { + fn from(value: T) -> Self { + Self::new(value) + } +}
Implement `From<T>` for `SyncWrapper<T>`
Write a concise commit message that explains the following Rust code diff. diff --git a/src/lib.rs b/src/lib.rs index 3b9a43a..33f75ab 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -138,3 +138,9 @@ impl<T: Default> Default for SyncWrapper<T> { Self::new(T::default()) } } + +impl<T> From<T> for SyncWrapper...
Implement `From<T>` for `SyncWrapper<T>`
[ { "role": "user", "content": "Write a concise commit message that explains the following Rust code diff.\n\ndiff --git a/src/lib.rs b/src/lib.rs\nindex 3b9a43a..33f75ab 100644\n--- a/src/lib.rs\n+++ b/src/lib.rs\n@@ -138,3 +138,9 @@ impl<T: Default> Default for SyncWrapper<T> {\n Self::new(T::defaul...
Implement `From<T>` for `SyncWrapper<T>`
Implement `<T>` `SyncWrapper<T>`
train-11-minimized_message_to_diff
jedisct1/rust
train
11
Rust
minimized_message_to_diff
Write a Rust code diff that implements the following commit message.
Implement `<T>` `SyncWrapper<T>`
diff --git a/src/lib.rs b/src/lib.rs index 3b9a43a..33f75ab 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -138,3 +138,9 @@ impl<T: Default> Default for SyncWrapper<T> { Self::new(T::default()) } } + +impl<T> From<T> for SyncWrapper<T> { + fn from(value: T) -> Self { + Self::new(value) + } +}
Write a Rust code diff that implements the following commit message. Implement `<T>` `SyncWrapper<T>`
diff --git a/src/lib.rs b/src/lib.rs index 3b9a43a..33f75ab 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -138,3 +138,9 @@ impl<T: Default> Default for SyncWrapper<T> { Self::new(T::default()) } } + +impl<T> From<T> for SyncWrapper<T> { + fn from(value: T) -> Self { + Self::new(value) + } +}
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nImplement `<T>` `SyncWrapper<T>`" }, { "role": "assistant", "content": "diff --git a/src/lib.rs b/src/lib.rs\nindex 3b9a43a..33f75ab 100644\n--- a/src/lib.rs\n+++ b/src/lib.rs\n@@ -138,3 +138,9 ...
Implement `From<T>` for `SyncWrapper<T>`
Implement `<T>` `SyncWrapper<T>`
train-11-message_to_shuffled_diff
jedisct1/rust
train
11
Rust
message_to_shuffled_diff
Write a Rust code diff that implements the following commit message.
Implement `From<T>` for `SyncWrapper<T>`
diff --git a/src/lib.rs b/src/lib.rs index 3b9a43a..33f75ab 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -138,3 +138,9 @@ impl<T: Default> Default for SyncWrapper<T> { Self::new(T::default()) } } + +impl<T> From<T> for SyncWrapper<T> { + fn from(value: T) -> Self { + Self::new(value) + } +}
Write a Rust code diff that implements the following commit message. Implement `From<T>` for `SyncWrapper<T>`
diff --git a/src/lib.rs b/src/lib.rs index 3b9a43a..33f75ab 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -138,3 +138,9 @@ impl<T: Default> Default for SyncWrapper<T> { Self::new(T::default()) } } + +impl<T> From<T> for SyncWrapper<T> { + fn from(value: T) -> Self { + Self::new(value) + } +}
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nImplement `From<T>` for `SyncWrapper<T>`" }, { "role": "assistant", "content": "diff --git a/src/lib.rs b/src/lib.rs\nindex 3b9a43a..33f75ab 100644\n--- a/src/lib.rs\n+++ b/src/lib.rs\n@@ -138,3...
Implement `From<T>` for `SyncWrapper<T>`
Implement `<T>` `SyncWrapper<T>`
train-12-message_to_diff
jedisct1/rust
train
12
Rust
message_to_diff
Write a Rust code diff that implements the following commit message.
Make `SyncWrapper::new` const
diff --git a/src/lib.rs b/src/lib.rs index 053f1c1..31c2eef 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -70,7 +70,7 @@ impl<T> SyncWrapper<T> { /// /// let mutex = SyncWrapper::new(42); /// ``` - pub fn new(value: T) -> Self { + pub const fn new(value: T) -> Self { Self(value) }
Write a Rust code diff that implements the following commit message. Make `SyncWrapper::new` const
diff --git a/src/lib.rs b/src/lib.rs index 053f1c1..31c2eef 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -70,7 +70,7 @@ impl<T> SyncWrapper<T> { /// /// let mutex = SyncWrapper::new(42); /// ``` - pub fn new(value: T) -> Self { + pub const fn new(value: T) -> Self { Self(value) }
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nMake `SyncWrapper::new` const" }, { "role": "assistant", "content": "diff --git a/src/lib.rs b/src/lib.rs\nindex 053f1c1..31c2eef 100644\n--- a/src/lib.rs\n+++ b/src/lib.rs\n@@ -70,7 +70,7 @@ im...
Make `SyncWrapper::new` const
Make `SyncWrapper::new` const
train-12-diff_to_message
jedisct1/rust
train
12
Rust
diff_to_message
Write a concise commit message that explains the following Rust code diff.
diff --git a/src/lib.rs b/src/lib.rs index 053f1c1..31c2eef 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -70,7 +70,7 @@ impl<T> SyncWrapper<T> { /// /// let mutex = SyncWrapper::new(42); /// ``` - pub fn new(value: T) -> Self { + pub const fn new(value: T) -> Self { Self(value) }
Make `SyncWrapper::new` const
Write a concise commit message that explains the following Rust code diff. diff --git a/src/lib.rs b/src/lib.rs index 053f1c1..31c2eef 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -70,7 +70,7 @@ impl<T> SyncWrapper<T> { /// /// let mutex = SyncWrapper::new(42); /// ``` - pub fn new(value: T) -> Self {...
Make `SyncWrapper::new` const
[ { "role": "user", "content": "Write a concise commit message that explains the following Rust code diff.\n\ndiff --git a/src/lib.rs b/src/lib.rs\nindex 053f1c1..31c2eef 100644\n--- a/src/lib.rs\n+++ b/src/lib.rs\n@@ -70,7 +70,7 @@ impl<T> SyncWrapper<T> {\n ///\n /// let mutex = SyncWrapper::new(42)...
Make `SyncWrapper::new` const
Make `SyncWrapper::new` const
train-12-minimized_message_to_diff
jedisct1/rust
train
12
Rust
minimized_message_to_diff
Write a Rust code diff that implements the following commit message.
Make `SyncWrapper::new` const
diff --git a/src/lib.rs b/src/lib.rs index 053f1c1..31c2eef 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -70,7 +70,7 @@ impl<T> SyncWrapper<T> { /// /// let mutex = SyncWrapper::new(42); /// ``` - pub fn new(value: T) -> Self { + pub const fn new(value: T) -> Self { Self(value) }
Write a Rust code diff that implements the following commit message. Make `SyncWrapper::new` const
diff --git a/src/lib.rs b/src/lib.rs index 053f1c1..31c2eef 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -70,7 +70,7 @@ impl<T> SyncWrapper<T> { /// /// let mutex = SyncWrapper::new(42); /// ``` - pub fn new(value: T) -> Self { + pub const fn new(value: T) -> Self { Self(value) }
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nMake `SyncWrapper::new` const" }, { "role": "assistant", "content": "diff --git a/src/lib.rs b/src/lib.rs\nindex 053f1c1..31c2eef 100644\n--- a/src/lib.rs\n+++ b/src/lib.rs\n@@ -70,7 +70,7 @@ im...
Make `SyncWrapper::new` const
Make `SyncWrapper::new` const
train-12-message_to_shuffled_diff
jedisct1/rust
train
12
Rust
message_to_shuffled_diff
Write a Rust code diff that implements the following commit message.
Make `SyncWrapper::new` const
diff --git a/src/lib.rs b/src/lib.rs index 053f1c1..31c2eef 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -70,7 +70,7 @@ impl<T> SyncWrapper<T> { /// /// let mutex = SyncWrapper::new(42); /// ``` - pub fn new(value: T) -> Self { + pub const fn new(value: T) -> Self { Self(value) }
Write a Rust code diff that implements the following commit message. Make `SyncWrapper::new` const
diff --git a/src/lib.rs b/src/lib.rs index 053f1c1..31c2eef 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -70,7 +70,7 @@ impl<T> SyncWrapper<T> { /// /// let mutex = SyncWrapper::new(42); /// ``` - pub fn new(value: T) -> Self { + pub const fn new(value: T) -> Self { Self(value) }
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nMake `SyncWrapper::new` const" }, { "role": "assistant", "content": "diff --git a/src/lib.rs b/src/lib.rs\nindex 053f1c1..31c2eef 100644\n--- a/src/lib.rs\n+++ b/src/lib.rs\n@@ -70,7 +70,7 @@ im...
Make `SyncWrapper::new` const
Make `SyncWrapper::new` const
train-13-message_to_diff
jedisct1/rust
train
13
Rust
message_to_diff
Write a Rust code diff that implements the following commit message.
Implement `Default` for `SyncWrapper`
diff --git a/src/lib.rs b/src/lib.rs index 4387dd5..3b9a43a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -132,3 +132,9 @@ impl<T> Debug for SyncWrapper<T> { f.pad("SyncWrapper") } } + +impl<T: Default> Default for SyncWrapper<T> { + fn default() -> Self { + Self::new(T::default()) + } +}
Write a Rust code diff that implements the following commit message. Implement `Default` for `SyncWrapper`
diff --git a/src/lib.rs b/src/lib.rs index 4387dd5..3b9a43a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -132,3 +132,9 @@ impl<T> Debug for SyncWrapper<T> { f.pad("SyncWrapper") } } + +impl<T: Default> Default for SyncWrapper<T> { + fn default() -> Self { + Self::new(T::default()) + } +}
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nImplement `Default` for `SyncWrapper`" }, { "role": "assistant", "content": "diff --git a/src/lib.rs b/src/lib.rs\nindex 4387dd5..3b9a43a 100644\n--- a/src/lib.rs\n+++ b/src/lib.rs\n@@ -132,3 +1...
Implement `Default` for `SyncWrapper`
Implement `Default` `SyncWrapper`
train-13-diff_to_message
jedisct1/rust
train
13
Rust
diff_to_message
Write a concise commit message that explains the following Rust code diff.
diff --git a/src/lib.rs b/src/lib.rs index 4387dd5..3b9a43a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -132,3 +132,9 @@ impl<T> Debug for SyncWrapper<T> { f.pad("SyncWrapper") } } + +impl<T: Default> Default for SyncWrapper<T> { + fn default() -> Self { + Self::new(T::default()) + } +}
Implement `Default` for `SyncWrapper`
Write a concise commit message that explains the following Rust code diff. diff --git a/src/lib.rs b/src/lib.rs index 4387dd5..3b9a43a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -132,3 +132,9 @@ impl<T> Debug for SyncWrapper<T> { f.pad("SyncWrapper") } } + +impl<T: Default> Default for SyncWrapper<T> {...
Implement `Default` for `SyncWrapper`
[ { "role": "user", "content": "Write a concise commit message that explains the following Rust code diff.\n\ndiff --git a/src/lib.rs b/src/lib.rs\nindex 4387dd5..3b9a43a 100644\n--- a/src/lib.rs\n+++ b/src/lib.rs\n@@ -132,3 +132,9 @@ impl<T> Debug for SyncWrapper<T> {\n f.pad(\"SyncWrapper\")\n }...
Implement `Default` for `SyncWrapper`
Implement `Default` `SyncWrapper`
train-13-minimized_message_to_diff
jedisct1/rust
train
13
Rust
minimized_message_to_diff
Write a Rust code diff that implements the following commit message.
Implement `Default` `SyncWrapper`
diff --git a/src/lib.rs b/src/lib.rs index 4387dd5..3b9a43a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -132,3 +132,9 @@ impl<T> Debug for SyncWrapper<T> { f.pad("SyncWrapper") } } + +impl<T: Default> Default for SyncWrapper<T> { + fn default() -> Self { + Self::new(T::default()) + } +}
Write a Rust code diff that implements the following commit message. Implement `Default` `SyncWrapper`
diff --git a/src/lib.rs b/src/lib.rs index 4387dd5..3b9a43a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -132,3 +132,9 @@ impl<T> Debug for SyncWrapper<T> { f.pad("SyncWrapper") } } + +impl<T: Default> Default for SyncWrapper<T> { + fn default() -> Self { + Self::new(T::default()) + } +}
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nImplement `Default` `SyncWrapper`" }, { "role": "assistant", "content": "diff --git a/src/lib.rs b/src/lib.rs\nindex 4387dd5..3b9a43a 100644\n--- a/src/lib.rs\n+++ b/src/lib.rs\n@@ -132,3 +132,9...
Implement `Default` for `SyncWrapper`
Implement `Default` `SyncWrapper`
train-13-message_to_shuffled_diff
jedisct1/rust
train
13
Rust
message_to_shuffled_diff
Write a Rust code diff that implements the following commit message.
Implement `Default` for `SyncWrapper`
diff --git a/src/lib.rs b/src/lib.rs index 4387dd5..3b9a43a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -132,3 +132,9 @@ impl<T> Debug for SyncWrapper<T> { f.pad("SyncWrapper") } } + +impl<T: Default> Default for SyncWrapper<T> { + fn default() -> Self { + Self::new(T::default()) + } +}
Write a Rust code diff that implements the following commit message. Implement `Default` for `SyncWrapper`
diff --git a/src/lib.rs b/src/lib.rs index 4387dd5..3b9a43a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -132,3 +132,9 @@ impl<T> Debug for SyncWrapper<T> { f.pad("SyncWrapper") } } + +impl<T: Default> Default for SyncWrapper<T> { + fn default() -> Self { + Self::new(T::default()) + } +}
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nImplement `Default` for `SyncWrapper`" }, { "role": "assistant", "content": "diff --git a/src/lib.rs b/src/lib.rs\nindex 4387dd5..3b9a43a 100644\n--- a/src/lib.rs\n+++ b/src/lib.rs\n@@ -132,3 +1...
Implement `Default` for `SyncWrapper`
Implement `Default` `SyncWrapper`
train-14-message_to_diff
jedisct1/rust
train
14
Rust
message_to_diff
Write a Rust code diff that implements the following commit message.
Implement `Debug` for `SyncWrapper` This change allows users to `#[derive(Debug)]` on types that contain `SyncWrapper`. The actual implementation does not give any useful information, but that is fine because nothing could be done anyway.
diff --git a/src/lib.rs b/src/lib.rs index 053f1c1..4387dd5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,6 +19,8 @@ #![doc(html_logo_url = "https://developer.actyx.com/img/logo.svg")] #![doc(html_favicon_url = "https://developer.actyx.com/img/favicon.ico")] +use core::fmt::{self, Debug, Formatter}; + /// A mutu...
Write a Rust code diff that implements the following commit message. Implement `Debug` for `SyncWrapper` This change allows users to `#[derive(Debug)]` on types that contain `SyncWrapper`. The actual implementation does not give any useful information, but that is fine because nothing could be done anyway.
diff --git a/src/lib.rs b/src/lib.rs index 053f1c1..4387dd5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,6 +19,8 @@ #![doc(html_logo_url = "https://developer.actyx.com/img/logo.svg")] #![doc(html_favicon_url = "https://developer.actyx.com/img/favicon.ico")] +use core::fmt::{self, Debug, Formatter}; + /// A mutu...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nImplement `Debug` for `SyncWrapper`\n\nThis change allows users to `#[derive(Debug)]` on types that contain\n`SyncWrapper`. The actual implementation does not give any useful\ninformation, but that is fine ...
Implement `Debug` for `SyncWrapper` This change allows users to `#[derive(Debug)]` on types that contain `SyncWrapper`. The actual implementation does not give any useful information, but that is fine because nothing could be done anyway.
Implement `Debug` `SyncWrapper` change allows users `#[derive(Debug)]` types contain `SyncWrapper`. actual implementation does not give any useful information, but fine because nothing could done anyway.
train-14-diff_to_message
jedisct1/rust
train
14
Rust
diff_to_message
Write a concise commit message that explains the following Rust code diff.
diff --git a/src/lib.rs b/src/lib.rs index 053f1c1..4387dd5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,6 +19,8 @@ #![doc(html_logo_url = "https://developer.actyx.com/img/logo.svg")] #![doc(html_favicon_url = "https://developer.actyx.com/img/favicon.ico")] +use core::fmt::{self, Debug, Formatter}; + /// A mutu...
Implement `Debug` for `SyncWrapper` This change allows users to `#[derive(Debug)]` on types that contain `SyncWrapper`. The actual implementation does not give any useful information, but that is fine because nothing could be done anyway.
Write a concise commit message that explains the following Rust code diff. diff --git a/src/lib.rs b/src/lib.rs index 053f1c1..4387dd5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,6 +19,8 @@ #![doc(html_logo_url = "https://developer.actyx.com/img/logo.svg")] #![doc(html_favicon_url = "https://developer.actyx.com/...
Implement `Debug` for `SyncWrapper` This change allows users to `#[derive(Debug)]` on types that contain `SyncWrapper`. The actual implementation does not give any useful information, but that is fine because nothing could be done anyway.
[ { "role": "user", "content": "Write a concise commit message that explains the following Rust code diff.\n\ndiff --git a/src/lib.rs b/src/lib.rs\nindex 053f1c1..4387dd5 100644\n--- a/src/lib.rs\n+++ b/src/lib.rs\n@@ -19,6 +19,8 @@\n #![doc(html_logo_url = \"https://developer.actyx.com/img/logo.svg\")]\n #![...
Implement `Debug` for `SyncWrapper` This change allows users to `#[derive(Debug)]` on types that contain `SyncWrapper`. The actual implementation does not give any useful information, but that is fine because nothing could be done anyway.
Implement `Debug` `SyncWrapper` change allows users `#[derive(Debug)]` types contain `SyncWrapper`. actual implementation does not give any useful information, but fine because nothing could done anyway.
train-14-minimized_message_to_diff
jedisct1/rust
train
14
Rust
minimized_message_to_diff
Write a Rust code diff that implements the following commit message.
Implement `Debug` `SyncWrapper` change allows users `#[derive(Debug)]` types contain `SyncWrapper`. actual implementation does not give any useful information, but fine because nothing could done anyway.
diff --git a/src/lib.rs b/src/lib.rs index 053f1c1..4387dd5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,6 +19,8 @@ #![doc(html_logo_url = "https://developer.actyx.com/img/logo.svg")] #![doc(html_favicon_url = "https://developer.actyx.com/img/favicon.ico")] +use core::fmt::{self, Debug, Formatter}; + /// A mutu...
Write a Rust code diff that implements the following commit message. Implement `Debug` `SyncWrapper` change allows users `#[derive(Debug)]` types contain `SyncWrapper`. actual implementation does not give any useful information, but fine because nothing could done anyway.
diff --git a/src/lib.rs b/src/lib.rs index 053f1c1..4387dd5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,6 +19,8 @@ #![doc(html_logo_url = "https://developer.actyx.com/img/logo.svg")] #![doc(html_favicon_url = "https://developer.actyx.com/img/favicon.ico")] +use core::fmt::{self, Debug, Formatter}; + /// A mutu...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nImplement `Debug` `SyncWrapper` change allows users `#[derive(Debug)]` types contain `SyncWrapper`. actual implementation does not give any useful information, but fine because nothing could done anyway." ...
Implement `Debug` for `SyncWrapper` This change allows users to `#[derive(Debug)]` on types that contain `SyncWrapper`. The actual implementation does not give any useful information, but that is fine because nothing could be done anyway.
Implement `Debug` `SyncWrapper` change allows users `#[derive(Debug)]` types contain `SyncWrapper`. actual implementation does not give any useful information, but fine because nothing could done anyway.
train-14-message_to_shuffled_diff
jedisct1/rust
train
14
Rust
message_to_shuffled_diff
Write a Rust code diff that implements the following commit message.
Implement `Debug` for `SyncWrapper` This change allows users to `#[derive(Debug)]` on types that contain `SyncWrapper`. The actual implementation does not give any useful information, but that is fine because nothing could be done anyway.
diff --git a/src/lib.rs b/src/lib.rs index 053f1c1..4387dd5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,6 +19,8 @@ #![doc(html_logo_url = "https://developer.actyx.com/img/logo.svg")] #![doc(html_favicon_url = "https://developer.actyx.com/img/favicon.ico")] +use core::fmt::{self, Debug, Formatter}; + /// A mutu...
Write a Rust code diff that implements the following commit message. Implement `Debug` for `SyncWrapper` This change allows users to `#[derive(Debug)]` on types that contain `SyncWrapper`. The actual implementation does not give any useful information, but that is fine because nothing could be done anyway.
diff --git a/src/lib.rs b/src/lib.rs index 053f1c1..4387dd5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,6 +19,8 @@ #![doc(html_logo_url = "https://developer.actyx.com/img/logo.svg")] #![doc(html_favicon_url = "https://developer.actyx.com/img/favicon.ico")] +use core::fmt::{self, Debug, Formatter}; + /// A mutu...
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nImplement `Debug` for `SyncWrapper`\n\nThis change allows users to `#[derive(Debug)]` on types that contain\n`SyncWrapper`. The actual implementation does not give any useful\ninformation, but that is fine ...
Implement `Debug` for `SyncWrapper` This change allows users to `#[derive(Debug)]` on types that contain `SyncWrapper`. The actual implementation does not give any useful information, but that is fine because nothing could be done anyway.
Implement `Debug` `SyncWrapper` change allows users `#[derive(Debug)]` types contain `SyncWrapper`. actual implementation does not give any useful information, but fine because nothing could done anyway.
train-15-message_to_diff
jedisct1/rust
train
15
Rust
message_to_diff
Write a Rust code diff that implements the following commit message.
Add `SyncWrapper::get_pin_mut`
diff --git a/Cargo.lock b/Cargo.lock index bb937a9..08566d7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,16 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + +[[package]] +name = "pin-project-lite" +version = "0.2.7" +source = "registry+https://github....
Write a Rust code diff that implements the following commit message. Add `SyncWrapper::get_pin_mut`
diff --git a/Cargo.lock b/Cargo.lock index bb937a9..08566d7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,16 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + +[[package]] +name = "pin-project-lite" +version = "0.2.7" +source = "registry+https://github....
[ { "role": "user", "content": "Write a Rust code diff that implements the following commit message.\n\nAdd `SyncWrapper::get_pin_mut`" }, { "role": "assistant", "content": "diff --git a/Cargo.lock b/Cargo.lock\nindex bb937a9..08566d7 100644\n--- a/Cargo.lock\n+++ b/Cargo.lock\n@@ -1,5 +1,16 @@\n ...
Add `SyncWrapper::get_pin_mut`
Add `SyncWrapper::getpinmut`
train-15-diff_to_message
jedisct1/rust
train
15
Rust
diff_to_message
Write a concise commit message that explains the following Rust code diff.
diff --git a/Cargo.lock b/Cargo.lock index bb937a9..08566d7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,16 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + +[[package]] +name = "pin-project-lite" +version = "0.2.7" +source = "registry+https://github....
Add `SyncWrapper::get_pin_mut`
Write a concise commit message that explains the following Rust code diff. diff --git a/Cargo.lock b/Cargo.lock index bb937a9..08566d7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,16 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + +[[package]] +name...
Add `SyncWrapper::get_pin_mut`
[ { "role": "user", "content": "Write a concise commit message that explains the following Rust code diff.\n\ndiff --git a/Cargo.lock b/Cargo.lock\nindex bb937a9..08566d7 100644\n--- a/Cargo.lock\n+++ b/Cargo.lock\n@@ -1,5 +1,16 @@\n # This file is automatically @generated by Cargo.\n # It is not intended for...
Add `SyncWrapper::get_pin_mut`
Add `SyncWrapper::getpinmut`
End of preview. Expand in Data Studio

Enriched Commit Diff Fine-tuning Dataset

Generated from jedisct1/rust on 2026-06-07T17:21:21.169834+00:00.

Each kept source commit produces four supervised fine-tuning variants:

  • message_to_diff: original commit message -> original diff
  • diff_to_message: original diff -> original commit message
  • minimized_message_to_diff: concise/minimized commit message -> original diff
  • message_to_shuffled_diff: original commit message -> original diff with file blocks shuffled

Output files are line-safe JSONL shards. By default they are gzip-compressed (.jsonl.gz) and rotated at roughly the configured uncompressed shard size.

Rows include both plain prompt/completion fields and chat messages fields:

  • instruction
  • input
  • output
  • prompt
  • completion
  • messages

Build stats

Language prompt: Rust
File filter: rust

Split Source rows seen Source rows kept Enriched rows Skipped by file filter
train 356184 356183 1424732 1

Total source rows kept: 356183
Total enriched rows: 1424732

Regeneration

python build_enriched_rust_dataset.py   --source-dataset jedisct1/rust   --output-dir enriched-rust-finetune-dataset

To upload after regeneration:

python build_enriched_rust_dataset.py   --source-dataset jedisct1/rust   --output-dir enriched-rust-finetune-dataset   --push-to YOUR_USERNAME/YOUR_DATASET_NAME
Downloads last month
53