Skip to content

Commit

Permalink
Fix import path
Browse files Browse the repository at this point in the history
  • Loading branch information
cmichi committed Nov 24, 2021
1 parent d55c84b commit fbc6097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/proxy/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
Expand Down

0 comments on commit fbc6097

Please sign in to comment.