From fbc6097e1919d5dfb9f444f00bd8b9c2f8eec7c4 Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Wed, 24 Nov 2021 06:17:31 +0100 Subject: [PATCH] Fix import path --- examples/proxy/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/proxy/lib.rs b/examples/proxy/lib.rs index db0b13b54ec..be2b0bf6be4 100644 --- a/examples/proxy/lib.rs +++ b/examples/proxy/lib.rs @@ -42,7 +42,7 @@ pub mod proxy { impl core::fmt::Display for NotAdminErr { fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - let msg = format!( + let msg = ink_env::format!( "caller does not have sufficient permissions, only {:?} does", self.admin );