Skip to content

Commit

Permalink
Fix some typos (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiantroy authored Dec 30, 2023
1 parent 90335fb commit 0a9b5ee
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The current list of the projects based on the library include:
## Library

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

```toml
rgb-wallet = "0.10.0"
Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Instead, please report them to the repository maintainers by sending a **GPG
encrypted e-mail** to _all maintainers of a specific repo_ using their GPG keys.

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

```yaml
Expand Down
2 changes: 1 addition & 1 deletion invoice/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ impl RgbInvoiceBuilder {
/// # Safety
///
/// The function may cause the loss of the information about the precise
/// amout of the asset, since f64 type doesn't provide full precision
/// amount of the asset, since f64 type doesn't provide full precision
/// required for that.
pub unsafe fn set_amount_approx(self, amount: f64, precision: Precision) -> Result<Self, Self> {
if amount <= 0.0 {
Expand Down
2 changes: 1 addition & 1 deletion src/containers/transfer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl FromStr for TransferId {
type Err = Baid58ParseError;
fn from_str(s: &str) -> Result<Self, Self::Err> { Self::from_baid58_chunked_str(s, ':', '#') }
}
#[allow(clippy::wrong_self_convention)] // We need the method that takes self by ref in order to have simplier APIs in iterators
#[allow(clippy::wrong_self_convention)] // We need the method that takes self by ref in order to have simpler APIs in iterators
impl TransferId {
pub fn to_baid58_string(&self) -> String { format!("{::<#.2}", self.to_baid58()) }
pub fn to_mnemonic(&self) -> String { self.to_baid58().mnemonic() }
Expand Down
2 changes: 1 addition & 1 deletion src/interface/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ impl<Seal: ExposedSeal> OperationBuilder<Seal> {

// TODO: check schema internal consistency
// TODO: check interface internal consistency
// TODO: check implmenetation internal consistency
// TODO: check implementation internal consistency

Ok(OperationBuilder {
schema,
Expand Down

0 comments on commit 0a9b5ee

Please sign in to comment.