Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
lwshang committed Oct 8, 2024
1 parent 0e598b1 commit ef6dd04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ic-cdk-management-canister/src/http_request/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ pub struct TransformContext {
}

impl TransformContext {
/// Constructs a TransformContext from a name and context. The principal is assumed to be the [current canister's](id).
/// Constructs a TransformContext from a name and context.
/// The principal is assumed to be the current canister's id.
pub fn from_name(candid_function_name: String, context: Vec<u8>) -> Self {
Self {
context,
Expand Down

0 comments on commit ef6dd04

Please sign in to comment.