From 8c1ee2fb73f4ab9a92f4f97cf99273a7174ccddc Mon Sep 17 00:00:00 2001 From: Raphael Taylor-Davies Date: Sat, 23 Dec 2023 13:08:10 +0000 Subject: [PATCH] Tweak doctest --- object_store/src/gcp/builder.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/object_store/src/gcp/builder.rs b/object_store/src/gcp/builder.rs index c9af8da8bb8d..21b767ddbb51 100644 --- a/object_store/src/gcp/builder.rs +++ b/object_store/src/gcp/builder.rs @@ -86,9 +86,8 @@ impl From for crate::Error { /// # Example /// ``` /// # let BUCKET_NAME = "foo"; -/// # let SERVICE_ACCOUNT_PATH = "/tmp/foo.json"; /// # use object_store::gcp::GoogleCloudStorageBuilder; -/// let gcs = GoogleCloudStorageBuilder::from_env().build(); +/// let gcs = GoogleCloudStorageBuilder::from_env().with_bucket_name(BUCKET_NAME).build(); /// ``` #[derive(Debug, Clone)] pub struct GoogleCloudStorageBuilder {