Skip to content

Commit

Permalink
Improve looks of documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Jul 23, 2020
1 parent 79ab945 commit 11a32eb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions git-object/src/borrowed/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ mod tag;
pub use tag::Tag;

pub mod tree;
#[doc(inline)]
pub use tree::Tree;

mod blob {
Expand Down
2 changes: 2 additions & 0 deletions git-object/src/owned/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ mod tag;
pub use tag::Tag;

pub mod tree;
#[doc(inline)]
pub use tree::Tree;

mod commit;
Expand All @@ -36,6 +37,7 @@ mod blob {
pub use blob::*;

pub mod signature;
#[doc(inline)]
pub use signature::Signature;

mod object;
Expand Down
2 changes: 2 additions & 0 deletions git-odb/src/loose/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ const HEADER_READ_COMPRESSED_BYTES: usize = 256;
const HEADER_READ_UNCOMPRESSED_BYTES: usize = 512;

pub mod db;
#[doc(inline)]
pub use db::Db;

pub mod object;
#[doc(inline)]
pub use object::Object;

0 comments on commit 11a32eb

Please sign in to comment.