Skip to content

Commit 11a32eb

Browse files
committed
Improve looks of documentation
1 parent 79ab945 commit 11a32eb

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

git-object/src/borrowed/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ mod tag;
1111
pub use tag::Tag;
1212

1313
pub mod tree;
14+
#[doc(inline)]
1415
pub use tree::Tree;
1516

1617
mod blob {

git-object/src/owned/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ mod tag;
1313
pub use tag::Tag;
1414

1515
pub mod tree;
16+
#[doc(inline)]
1617
pub use tree::Tree;
1718

1819
mod commit;
@@ -36,6 +37,7 @@ mod blob {
3637
pub use blob::*;
3738

3839
pub mod signature;
40+
#[doc(inline)]
3941
pub use signature::Signature;
4042

4143
mod object;

git-odb/src/loose/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ const HEADER_READ_COMPRESSED_BYTES: usize = 256;
22
const HEADER_READ_UNCOMPRESSED_BYTES: usize = 512;
33

44
pub mod db;
5+
#[doc(inline)]
56
pub use db::Db;
67

78
pub mod object;
9+
#[doc(inline)]
810
pub use object::Object;

0 commit comments

Comments
 (0)