From ef6dd04a6b26dee918902f77d5b704c674862fa5 Mon Sep 17 00:00:00 2001 From: Linwei Shang Date: Tue, 8 Oct 2024 14:16:50 -0400 Subject: [PATCH] fix doc --- ic-cdk-management-canister/src/http_request/types.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ic-cdk-management-canister/src/http_request/types.rs b/ic-cdk-management-canister/src/http_request/types.rs index df74c52c..07f7fb4c 100644 --- a/ic-cdk-management-canister/src/http_request/types.rs +++ b/ic-cdk-management-canister/src/http_request/types.rs @@ -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) -> Self { Self { context,