Skip to content

Commit 2d171dd

Browse files
authored
Docs for chain time (#120)
Enables `#![deny(missing_docs)]` on `chain-time`, and fills in doc comments for all of the places where it was missing.
2 parents 95728d8 + d92257f commit 2d171dd

File tree

84 files changed

+174
-146
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+174
-146
lines changed

.prettierrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/nix/store/g77c5dnwa9idf7mx6lmgd3lvsz5jg3kh-prettierrc
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
shell-profile-5-link
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/nix/store/drkh2j6wkl3w4xbz9wwgi8n856zn1ijx-Catalyst-Core
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/nix/store/702h0vcyxycwvv3kpkh724zvnnqs9kxi-Catalyst-Core
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/nix/store/ivbw2wlzkhh0f3i8fjxclgdw7273w5jg-Catalyst-Core
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/nix/store/drkh2j6wkl3w4xbz9wwgi8n856zn1ijx-Catalyst-Core
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/nix/store/ivbw2wlzkhh0f3i8fjxclgdw7273w5jg-Catalyst-Core

lefthook.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/nix/store/h99yaz97zjz38mnx9d6idkm1d60z16v6-lefthook.yml

src/catalyst-toolbox/catalyst-toolbox/src/bin/cli/kedqr/decode/img.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use std::path::Path;
1111
use std::path::PathBuf;
1212

1313
pub fn save_secret_from_qr(qr: PathBuf, output: Option<PathBuf>, pin: QrPin) -> Result<(), Report> {
14-
let sk = secret_from_qr(&qr, pin)?;
14+
let sk = secret_from_qr(qr, pin)?;
1515
let hrp = Ed25519Extended::SECRET_BECH32_HRP;
1616
let secret_key = bech32::encode(hrp, sk.leak_secret().to_base32(), Variant::Bech32)?;
1717

src/catalyst-toolbox/catalyst-toolbox/src/bin/cli/kedqr/encode/img.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub fn generate_qr(input: PathBuf, output: Option<PathBuf>, pin: QrPin) -> Resul
1515
.read(true)
1616
.write(false)
1717
.append(false)
18-
.open(&input)
18+
.open(input)
1919
.expect("Could not open input file.");
2020

2121
let mut reader = BufReader::new(key_file);

0 commit comments

Comments
 (0)