Update to 2024 edition (#2001)

* Update to 2024 edition

* Update to 2024 edition; fmt, use<> and remove refs

* async functions
This commit is contained in:
James Wilson authored and GitHub committed 2025-05-09 16:12:18 +01:00
1 parent 98c1d153b6
commit 23c62f3d5d
120 files changed
+399 -322

No files matched your search

+3 -1
View File
@@ -17,7 +17,9 @@ pub enum Error {
#[error("Request error: {0}")]
RequestError(#[from] jsonrpsee::core::ClientError),
/// Failed IO when fetching from a file.
#[error("Failed IO for {0}, make sure that you are providing the correct file path for metadata: {1}")]
#[error(
"Failed IO for {0}, make sure that you are providing the correct file path for metadata: {1}"
)]
Io(String, std::io::Error),
/// URL scheme is not http, https, ws or wss.
#[error("'{0}' not supported, supported URI schemes are http, https, ws or wss.")]