From a19da255656d5309ff5f43cd8b7d90dcd28b3626 Mon Sep 17 00:00:00 2001 From: Fergus Henderson Date: Tue, 5 Sep 2023 09:26:15 -0700 Subject: [PATCH] Some spelling and grammar fixes in the comments. PiperOrigin-RevId: 562802023 --- mediapipe/framework/calculator_contract.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mediapipe/framework/calculator_contract.h b/mediapipe/framework/calculator_contract.h index 7726065a7..1bc5c5aed 100644 --- a/mediapipe/framework/calculator_contract.h +++ b/mediapipe/framework/calculator_contract.h @@ -169,12 +169,12 @@ class CalculatorContract { // For services which allow default initialization: // - `CalculatorGraph` will try to create corresponding service object by // default even if request is made optional - // (`GraphServiceRequest::Optional()`) + // (`GraphServiceRequest::Optional()`). // // For services which disallow default initialization: // - `CalculatorGraph` requires client to set corresponding service object and - // otherwise fails, unles request is mad optional - // (`GraphServiceRequest::Optional()`) + // otherwise fails, unless request is made optional + // (`GraphServiceRequest::Optional()`). GraphServiceRequest& UseService(const GraphServiceBase& service) { auto it = service_requests_.emplace(service.key, service).first; return it->second;