Add full stops to rustdocs in client#302
Conversation
ac27d49 to
30492e9
Compare
| false.into(), // disable_private_keys | ||
| false.into(), // blank | ||
| serde_json::Value::Null, // passphrase | ||
| false.into(), // avoid_reuse | ||
| true.into(), // descriptors=true | ||
| serde_json::Value::Null, // load_on_startup | ||
| false.into(), // disable_private_keys. | ||
| false.into(), // blank. | ||
| serde_json::Value::Null, // passphrase. | ||
| false.into(), // avoid_reuse. | ||
| true.into(), // descriptors=true. | ||
| serde_json::Value::Null, // load_on_startup. |
There was a problem hiding this comment.
These are incorrect. We only want to do rustdocs, in code comments if its not a full sentence then it doesn't get a full stop.
| /// > 6. descriptors (boolean, optional, default=true) Create a native descriptor wallet. The wallet will use descriptors internally to handle address creation | ||
| /// > 6. descriptors (boolean, optional, default=true) Create a native descriptor wallet. The wallet will use descriptors internally to handle address creation. | ||
| /// > 6. descriptors (boolean, optional, default=true) Create a native descriptor wallet. The wallet will use descriptors internally to handle address creation. |
There was a problem hiding this comment.
Duplicate line. But anyways lets not patch the Core docs (same comment as in another place during this review).
tcharding
left a comment
There was a problem hiding this comment.
Just two fixes, everything else looks good. What tool did you use? Your editor's AI setup?
b4d2681 Add full stops to rustdocs in node (Jamil Lambert, PhD) Pull request description: Use AI to go through every file in node and add missing full stops to the rust docs. Together with #302, #303 and #304 Closes #296 ACKs for top commit: tcharding: ACK b4d2681 Tree-SHA512: 7153ac583469b1481ebcab64e70e2c86a9669fc450059c90e399aca6f55471c8d1cccef9970774b9713d634a9179d0363fe155938d5e9270416a46d7dcd6df36
5472a76 to
59a163f
Compare
Removed the change to section from Core docs. Removed the changes to comments, not sure why it did just this section and not everywhere. Also not sure why it duplicated that one line. NB. there were other errors it made, just that I found them before committing the changes. Still a lot quicker than trying to do this manually. I used copilot in vscode in agent mode with GPT-4.1. I pay for copilot through github. |
|
Needs rebase mate. |
Use AI to go through every file in client and add missing full stops to the rust docs.
59a163f to
4a2d02e
Compare
|
Rebased |
4a2d02e75219a36883c5407643ff7d02f284d5d4 Add full stops to rustdocs in Client (Jamil Lambert, PhD)
Pull request description:
Use AI to go through every file in client and add missing full stops to the rust docs.
There is one typo it also fixed without asking that I noticed.
Part of the fix for issue #296
ACKs for top commit:
tcharding:
ACK 4a2d02e75219a36883c5407643ff7d02f284d5d4
Tree-SHA512: 5d7b71ad93ef2d86b5b7212fa9f157ca98f4ce02767b044e991a4a8f1e91393ecb054f1cbb323e873f4253e95862c0854a4e0fc32998571af56bccd7ffab0543
Use AI to go through every file in client and add missing full stops to the rust docs.
There is one typo it also fixed without asking that I noticed.
Part of the fix for issue #296