File tree Expand file tree Collapse file tree
rust/templates/common/client_method_samples Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -388,7 +388,7 @@ type AIPStandardGetInfo struct {
388388}
389389
390390// AIPStandardGetInfo returns information relevant to a get operation that is like
391- // a get operation as defined by AIP-131, if the method is such and operation.
391+ // a get operation as defined by AIP-131, if the method is such an operation.
392392func (m * Method ) AIPStandardGetInfo () * AIPStandardGetInfo {
393393 // A get operation is always a simple operation that returns a resource.
394394 if ! m .IsSimple () || m .InputType == nil || m .ReturnsEmpty || m .OutputType .Resource == nil {
Original file line number Diff line number Diff line change @@ -19,9 +19,10 @@ limitations under the License.
1919/// # Example
2020/// ```
2121/// # use { {Service.Model.Codec.PackageNamespace} }::client::{ {Service.Codec.Name} };
22+ /// use { {Service.Model.Codec.PackageNamespace} }::Result;
2223/// async fn sample(
2324{ {> /templates/common/client_method_samples/parameters} }
24- /// ) -> gax:: Result<()> {
25+ /// ) -> Result<()> {
2526{{#ReturnsEmpty} }
2627/// client
2728/// .{ {Codec.Name} }()
You can’t perform that action at this time.
0 commit comments