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 {