hive-forge: #[must_use] on Client::repo (mara@#407)
This commit is contained in:
parent
badf21714b
commit
15195b0c47
1 changed files with 1 additions and 0 deletions
|
|
@ -66,6 +66,7 @@ impl Client {
|
|||
/// Return the active repo. `from_env` already folded the
|
||||
/// `-r/--repo` override into `default_repo`, so verbs just read
|
||||
/// it as-is — no per-verb override plumbing.
|
||||
#[must_use]
|
||||
pub fn repo(&self) -> &str {
|
||||
&self.default_repo
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue