Skip to content

Commit

Permalink
tweak (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshidan authored Apr 17, 2024
1 parent ff65df4 commit 5699aa2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion foundation/auth/src/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ pub async fn create_token_source_from_project(
}

/// create_token_source creates the token source
/// use [DefaultTokenSourceProvider](crate::token::DefaultTokenSourceProvider) instead.
/// use [DefaultTokenSourceProvider](crate::token::DefaultTokenSourceProvider) or impl [TokenSourceProvider](google_cloud_token::TokenSourceProvider) instead.
#[deprecated(note = "Use DefaultTokenSourceProvider instead")]
pub async fn create_token_source(config: Config<'_>) -> Result<Box<dyn TokenSource>, error::Error> {
let project = project().await?;
Expand Down
6 changes: 0 additions & 6 deletions storage/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,6 @@ impl Deref for Client {
}
}

impl Default for Client {
fn default() -> Self {
Self::new(ClientConfig::default())
}
}

impl Client {
/// New client
pub fn new(config: ClientConfig) -> Self {
Expand Down

0 comments on commit 5699aa2

Please sign in to comment.