Skip to content

Commit

Permalink
fix: fix description of UpdateBuilder::new (#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioDfinity authored Feb 6, 2024
1 parent ef55bd6 commit c20ba0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ic-agent/src/agent/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1517,7 +1517,7 @@ pub struct UpdateBuilder<'agent> {
}

impl<'agent> UpdateBuilder<'agent> {
/// Creates a new query builder with an agent for a particular canister method.
/// Creates a new update builder with an agent for a particular canister method.
pub fn new(agent: &'agent Agent, canister_id: Principal, method_name: String) -> Self {
Self {
agent,
Expand Down

0 comments on commit c20ba0c

Please sign in to comment.