Skip to content

Commit 1756809

Browse files
authored
Merge branch 'main' into feature/add-SECURITY-md
2 parents fbde98a + 87bf572 commit 1756809

File tree

17 files changed

+27
-28
lines changed

17 files changed

+27
-28
lines changed

src/chain-libs/chain-storage/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
//! __fig.1 - note that root does not actually exist, this is an ID referredby__
4242
//! __the first block in the chain__
4343
//!
44-
//! ```ignore
44+
//! ```text
4545
//! +---------+ +---------+
4646
//! | | | |
4747
//! | Block 4 | | Block 4'|
@@ -104,7 +104,7 @@
104104
//!
105105
//! __fig. 2 - permanent storage structure__
106106
//!
107-
//! ```ignore
107+
//! ```text
108108
//! store block no. index
109109
//!
110110
//! +--------------+ +-------------+
@@ -128,7 +128,7 @@
128128
//!
129129
//! # Storage directory layout
130130
//!
131-
//! ```ignore
131+
//! ```text
132132
//! store
133133
//! ├── permanent - permanent storage directory
134134
//! │   └── flatfile - storage file that can be transferred over the network

src/chain-libs/chain-time/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// #![warn(clippy::all)]
2+
// #![deny(missing_docs)]
13
pub mod era;
24
pub mod timeframe;
35
pub mod timeline;

src/chain-libs/chain-time/src/timeframe.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//! Timeframe
2+
//!
3+
14
use crate::timeline::Timeline;
25
use std::time::{Duration, SystemTime};
36

src/chain-wallet-libs/bindings/wallet-core/src/wallet.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ impl Wallet {
3535
/// Retrieve a wallet from a key used as utxo's
3636
///
3737
/// You can also use this function to recover a wallet even after you have
38-
/// transferred all the funds to the new format (see the [Self::convert] function).
38+
/// transferred all the funds to the new format
3939
///
4040
/// Parameters
4141
///

src/chain-wallet-libs/chain-path-derivation/src/bip44.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ impl DerivationPath<Bip44<Root>> {
107107
/// use the same "model" of 5 derivation level but instead of starting with the
108108
/// bip44 Hard Derivation uses the `'1852` (`'0x073C`) derivation path.
109109
///
110-
/// see https://input-output-hk.github.io/adrestia/docs/key-concepts/hierarchical-deterministic-wallets/
110+
/// see <https://input-output-hk.github.io/adrestia/docs/key-concepts/hierarchical-deterministic-wallets/>
111111
///
112112
pub fn chimeric(&self) -> DerivationPath<Bip44<Purpose>> {
113113
let mut p = self.clone();

src/jormungandr/jcli/src/jcli_lib/utils/output_format.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use thiserror::Error;
88
pub struct OutputFormat {
99
/// Format of output data. Possible values: json, yaml.
1010
/// Any other value is treated as a custom format using values from output data structure.
11-
/// Syntax is Go text template: https://golang.org/pkg/text/template/.
11+
/// Syntax is Go text template: <https://golang.org/pkg/text/template/>.
1212
#[structopt(long = "output-format", default_value = "yaml", parse(from_str))]
1313
format: FormatVariant,
1414
}

src/jormungandr/jormungandr-lib/src/crypto/key.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ impl<A: AsymmetricPublicKey> Identifier<A> {
168168
/// encode the `Identifier` into an hexadecimal string
169169
///
170170
/// While this is still a human readable format. it is lesser than
171-
/// the output of [`to_bech32_str`] as it does not provide user input
171+
/// the output of [`Self::to_bech32_str`] as it does not provide user input
172172
/// verification.
173173
///
174174
/// `Display` implementation of `Identifier` provides the hexadecimal string support.

src/jormungandr/testing/mjolnir/src/mjolnir_lib/bootstrap/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ pub struct ClientLoadCommand {
2828
#[structopt(short = "a", long = "address")]
2929
pub address: String,
3030

31-
/// amount of delay [seconds] between sync attempts
31+
/// amount of delay (in seconds) between sync attempts
3232
#[structopt(short = "p", long = "pace", default_value = "2")]
3333
pub pace: u64,
3434

3535
#[structopt(short = "d", long = "storage")]
3636
pub initial_storage: Option<PathBuf>,
3737

38-
/// amount of delay [seconds] between sync attempts
38+
/// amount of delay (in seconds) between sync attempts
3939
#[structopt(short = "r", long = "duration")]
4040
pub duration: Option<u64>,
4141

42-
/// amount of delay [seconds] between sync attempts
42+
/// amount of delay (in seconds) between sync attempts
4343
#[structopt(short = "n", long = "iterations")]
4444
pub sync_iteration: Option<u32>,
4545

src/jormungandr/testing/mjolnir/src/mjolnir_lib/explorer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pub struct ExplorerLoadCommand {
2424
#[structopt(short = "e", long = "endpoint")]
2525
pub endpoint: String,
2626

27-
/// Amount of delay [milliseconds] between sync attempts
27+
/// Amount of delay (in milliseconds) between sync attempts
2828
#[structopt(long = "delay", default_value = "50")]
2929
pub delay: u64,
3030

src/jormungandr/testing/mjolnir/src/mjolnir_lib/rest.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ pub struct RestLoadCommand {
2424
#[structopt(short = "e", long = "endpoint")]
2525
pub endpoint: String,
2626

27-
/// Amount of delay [milliseconds] between sync attempts
27+
/// Amount of delay (in milliseconds) between sync attempts
2828
#[structopt(long = "delay", default_value = "50")]
2929
pub delay: u64,
3030

31-
/// Amount of delay [seconds] between sync attempts
31+
/// Amount of delay (in seconds) between sync attempts
3232
#[structopt(short = "d", long = "duration")]
3333
pub duration: u64,
3434

0 commit comments

Comments
 (0)