Skip to content

Commit 0a9b5ee

Browse files
authored
Fix some typos (#123)
1 parent 90335fb commit 0a9b5ee

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The current list of the projects based on the library include:
3737
## Library
3838

3939
The library can be integrated into other rust projects via `Cargo.toml`
40-
`[dependecies]` section:
40+
`[dependencies]` section:
4141

4242
```toml
4343
rgb-wallet = "0.10.0"

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Instead, please report them to the repository maintainers by sending a **GPG
1515
encrypted e-mail** to _all maintainers of a specific repo_ using their GPG keys.
1616

1717
A list of repository maintainers and their keys and e-mail addresses are
18-
provided inside MAINTANERS.md file and MANIFEST.yml, with the latter also
18+
provided inside MAINTAINERS.md file and MANIFEST.yml, with the latter also
1919
included in the README.md as a manifest block, which looks in the following way:
2020

2121
```yaml

invoice/src/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ impl RgbInvoiceBuilder {
108108
/// # Safety
109109
///
110110
/// The function may cause the loss of the information about the precise
111-
/// amout of the asset, since f64 type doesn't provide full precision
111+
/// amount of the asset, since f64 type doesn't provide full precision
112112
/// required for that.
113113
pub unsafe fn set_amount_approx(self, amount: f64, precision: Precision) -> Result<Self, Self> {
114114
if amount <= 0.0 {

src/containers/transfer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ impl FromStr for TransferId {
5959
type Err = Baid58ParseError;
6060
fn from_str(s: &str) -> Result<Self, Self::Err> { Self::from_baid58_chunked_str(s, ':', '#') }
6161
}
62-
#[allow(clippy::wrong_self_convention)] // We need the method that takes self by ref in order to have simplier APIs in iterators
62+
#[allow(clippy::wrong_self_convention)] // We need the method that takes self by ref in order to have simpler APIs in iterators
6363
impl TransferId {
6464
pub fn to_baid58_string(&self) -> String { format!("{::<#.2}", self.to_baid58()) }
6565
pub fn to_mnemonic(&self) -> String { self.to_baid58().mnemonic() }

src/interface/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ impl<Seal: ExposedSeal> OperationBuilder<Seal> {
522522

523523
// TODO: check schema internal consistency
524524
// TODO: check interface internal consistency
525-
// TODO: check implmenetation internal consistency
525+
// TODO: check implementation internal consistency
526526

527527
Ok(OperationBuilder {
528528
schema,

0 commit comments

Comments
 (0)