Skip to content

Commit f9d9eef

Browse files
UnbreakableMJclaude
andcommitted
fix(vault): backtick OAuth2 in new doc comments (clippy doc_markdown)
CI clippy flagged two unbackticked `OAuth2` doc items (the codebase backticks it elsewhere). Verified with an isolated CARGO_TARGET_DIR clippy run so the result doesn't share cargo's build cache (the source of the repeated local false-greens). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent d4c2116 commit f9d9eef

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

crates/vault-agent/src/state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pub struct Vault {
4343
pub protected_user_key: String,
4444
/// Account KDF parameters (for offline master-key derivation / re-persist).
4545
pub kdf: vault_core::kdf::KdfParams,
46-
/// OAuth2 refresh token (decrypted, in memory) when one is available — from
46+
/// `OAuth2` refresh token (decrypted, in memory) when one is available — from
4747
/// the login token on an online unlock, or decrypted from the cache on an
4848
/// offline/PIN unlock. Lets a token-less session go online via
4949
/// [`Vault::ensure_online`] and is persisted (encrypted) by `persist_cache`.

crates/vault-store/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ pub struct VaultCache {
6363
/// agent restart; reset to 0 on a correct PIN or a fresh enrollment.
6464
#[serde(default)]
6565
pub pin_failures: u32,
66-
/// The OAuth2 refresh token encrypted under the user key (an `EncString`),
66+
/// The `OAuth2` refresh token encrypted under the user key (an `EncString`),
6767
/// so a cache/PIN unlock can mint a live access token without the master
6868
/// password. `None` when none has been persisted.
6969
#[serde(default)]

0 commit comments

Comments
 (0)