From 702e52a88c1c3de0f6de2c317c68b8540a5b0365 Mon Sep 17 00:00:00 2001 From: schwartz-concordium <132270889+schwartz-concordium@users.noreply.github.com> Date: Fri, 26 Jan 2024 10:56:13 +0100 Subject: [PATCH] Update lib.rs --- rust-bindings/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rust-bindings/src/lib.rs b/rust-bindings/src/lib.rs index 80299502..065fa7bd 100644 --- a/rust-bindings/src/lib.rs +++ b/rust-bindings/src/lib.rs @@ -2,7 +2,7 @@ use anyhow::Result; use concordium_contracts_common::{ schema::{Type, VersionedModuleSchema, VersionedSchemaError}, schema_json::ToJsonError, - Cursor + Cursor, }; use serde_json::to_vec; use std::{ffi::CStr, os::raw::c_char}; @@ -206,7 +206,7 @@ pub enum FFIError { #[error("encountered string which wasn't utf8 encoded")] Utf8Error, #[error(transparent)] - VersionedSchemaError(#[from]VersionedSchemaError), + VersionedSchemaError(#[from] VersionedSchemaError), } impl FFIError {