mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-15 00:44:33 +00:00
repo: fix type name in ReadonlyRepo debug output, show ellipsis
This commit is contained in:
parent
f4df996242
commit
47ff6f18aa
1 changed files with 3 additions and 1 deletions
|
@ -137,7 +137,9 @@ pub struct ReadonlyRepo {
|
|||
|
||||
impl Debug for ReadonlyRepo {
|
||||
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), std::fmt::Error> {
|
||||
f.debug_struct("Repo").field("store", &self.store).finish()
|
||||
f.debug_struct("ReadonlyRepo")
|
||||
.field("store", &self.store)
|
||||
.finish_non_exhaustive()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue