Skip to content

Commit 3a78840

Browse files
committed
deny missing docs for git-packetline
1 parent 7c623de commit 3a78840

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

git-packetline/src/borrowed.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ use quick_error::quick_error;
9292
quick_error! {
9393
/// The error used in [`decode_band()`][Borrowed::decode_band()].
9494
#[derive(Debug)]
95+
#[allow(missing_docs)]
9596
pub enum DecodeBandError {
9697
InvalidSideBand(band: u8) {
9798
display("attempt to decode a non-side channel line or input was malformed: {}", band)

git-packetline/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//!
33
//! For reading the packet line format use the [`Provider`], and for writing the `Writer`.
44
#![forbid(unsafe_code)]
5-
#![deny(rust_2018_idioms)]
5+
#![deny(rust_2018_idioms, missing_docs)]
66

77
pub(crate) const U16_HEX_BYTES: usize = 4;
88
pub(crate) const MAX_DATA_LEN: usize = 65516;

git-packetline/src/provider/read.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ impl<'a, T> ReadWithSidebands<'a, T, fn(bool, &[u8])>
3636
where
3737
T: io::Read,
3838
{
39+
/// Create a new instance with the given provider as `parent`.
3940
pub fn new(parent: &'a mut Provider<T>) -> Self {
4041
ReadWithSidebands {
4142
parent,

0 commit comments

Comments
 (0)