Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some typos #123

Merged
merged 5 commits into from
Dec 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading