Skip to content

Commit 7430604

Browse files
committed
chore: shorten TODO references to googleapis#7108
1 parent 9e0bce2 commit 7430604

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎src/pubsub/src/publisher/token_bucket.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ impl TokenBucket {
5151
#[allow(deprecated)]
5252
pub(crate) fn try_acquire(&self) -> bool {
5353
self.tokens
54-
// TODO(https://github.com/googleapis/google-cloud-rust/issues/7108): use `try_update` once the MSRV is bumped to 1.95.
54+
// TODO(#7108): use `try_update` once the MSRV is bumped to 1.95.
5555
.fetch_update(Ordering::Relaxed, Ordering::Relaxed, |current| {
5656
if current >= SCALE {
5757
Some(current - SCALE)
@@ -69,7 +69,7 @@ impl TokenBucket {
6969
#[allow(deprecated)]
7070
let _ = self
7171
.tokens
72-
// TODO(https://github.com/googleapis/google-cloud-rust/issues/7108): use `try_update` once the MSRV is bumped to 1.95.
72+
// TODO(#7108): use `try_update` once the MSRV is bumped to 1.95.
7373
.fetch_update(Ordering::Relaxed, Ordering::Relaxed, |current| {
7474
if current >= self.max_scaled_tokens {
7575
None // optimization to save an atomic update.

‎src/spanner/src/channel_pool/entry.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ impl ChannelEntry {
158158
#[allow(deprecated)]
159159
let _ = self
160160
.penalty_state
161-
// TODO(https://github.com/googleapis/google-cloud-rust/issues/7108): use `try_update` once the MSRV is bumped to 1.95.
161+
// TODO(#7108): use `try_update` once the MSRV is bumped to 1.95.
162162
.fetch_update(Ordering::Release, Ordering::Acquire, |packed| {
163163
let now_millis =
164164
u64::try_from(self.created_at.elapsed().as_millis()).unwrap_or(u64::MAX);

‎src/spanner/src/routing/server_connection.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ impl Drop for ActiveRequestGuard {
5858
let _ = self
5959
.inner
6060
.active_requests
61-
// TODO(https://github.com/googleapis/google-cloud-rust/issues/7108): use `try_update` once the MSRV is bumped to 1.95.
61+
// TODO(#7108): use `try_update` once the MSRV is bumped to 1.95.
6262
.fetch_update(Ordering::Relaxed, Ordering::Relaxed, |val| {
6363
Some(val.saturating_sub(1))
6464
});
@@ -158,7 +158,7 @@ impl ServerConnection {
158158
let _ = self
159159
.inner
160160
.active_requests
161-
// TODO(https://github.com/googleapis/google-cloud-rust/issues/7108): use `try_update` once the MSRV is bumped to 1.95.
161+
// TODO(#7108): use `try_update` once the MSRV is bumped to 1.95.
162162
.fetch_update(Ordering::Relaxed, Ordering::Relaxed, |val| {
163163
Some(val.saturating_sub(1))
164164
});

0 commit comments

Comments
 (0)