mirror of
https://github.com/martinvonz/jj.git
synced 2025-05-17 05:04:27 +00:00
repo: fix type name in ReadonlyRepo debug output, show ellipsis
This commit is contained in:
parent
f4df996242
commit
47ff6f18aa
@ -137,7 +137,9 @@ pub struct ReadonlyRepo {
|
|||||||
|
|
||||||
impl Debug for ReadonlyRepo {
|
impl Debug for ReadonlyRepo {
|
||||||
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), std::fmt::Error> {
|
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…
x
Reference in New Issue
Block a user