Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamspofford-dfinity committed Nov 15, 2023
1 parent 1e9cf32 commit b7b8f80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/canisters/frontend/ic-asset/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! # Example
//!
//! ```rust,no_run
//! use ic_agent::agent::{Agent, http_transport::ReqwestHttpReplicaV2Transport};
//! use ic_agent::agent::{Agent, http_transport::ReqwestTransport};
//! use ic_agent::identity::BasicIdentity;
//! use ic_utils::Canister;
//! use std::time::Duration;
Expand All @@ -12,7 +12,7 @@
//! # let pemfile = "";
//! # let canister_id = "";
//! let agent = Agent::builder()
//! .with_transport(ReqwestHttpReplicaV2Transport::create(replica_url)?)
//! .with_transport(ReqwestTransport::create(replica_url)?)
//! .with_identity(BasicIdentity::from_pem_file(pemfile)?)
//! .build()?;
//! let canister = Canister::builder()
Expand Down

0 comments on commit b7b8f80

Please sign in to comment.