mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 04:01:02 +00:00
Match substrate's fmt (#1148)
* Alter gitlab. * Use substrate's rustfmt.toml * cargo +nightly fmt --all * Fix spellcheck. * cargo +nightly fmt --all * format. * Fix spellcheck and fmt * fmt? * Fix spellcheck Co-authored-by: Tomasz Drwięga <tomasz@parity.io>
This commit is contained in:
@@ -23,9 +23,11 @@ mod error;
|
||||
mod rpc;
|
||||
mod sign;
|
||||
|
||||
pub use crate::client::Client;
|
||||
pub use crate::error::{Error, Result};
|
||||
pub use crate::sign::{sign_and_submit_transaction, SigningParams};
|
||||
pub use crate::{
|
||||
client::Client,
|
||||
error::{Error, Result},
|
||||
sign::{sign_and_submit_transaction, SigningParams},
|
||||
};
|
||||
|
||||
pub mod types;
|
||||
|
||||
@@ -40,9 +42,6 @@ pub struct ConnectionParams {
|
||||
|
||||
impl Default for ConnectionParams {
|
||||
fn default() -> Self {
|
||||
ConnectionParams {
|
||||
host: "localhost".into(),
|
||||
port: 8546,
|
||||
}
|
||||
ConnectionParams { host: "localhost".into(), port: 8546 }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user