Skip to content

Commit

Permalink
minor: fix rustdoc failures (#1116)
Browse files Browse the repository at this point in the history
  • Loading branch information
abr-egn authored Jun 4, 2024
1 parent 6e4126a commit 4f454b9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,6 @@ serde_path_to_error = "0.1"
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
all-features = true

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mongodb_internal_tracking_arc)'] }
2 changes: 1 addition & 1 deletion src/error/bulk_write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use crate::{
///
/// If an additional error occurred that was not the result of an individual write failing or a
/// write concern error, it can be retrieved by calling [`source`](core::error::Error::source) on
/// the [`Error`](crate::error::Error) in which this value is stored.
/// the [`Error`](struct@crate::error::Error) in which this value is stored.
#[derive(Clone, Debug, Default)]
#[non_exhaustive]
pub struct BulkWriteError {
Expand Down
15 changes: 6 additions & 9 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,12 @@
#![warn(rustdoc::missing_crate_level_docs)]
#![warn(clippy::cast_possible_truncation)]
#![warn(clippy::cast_possible_wrap)]
#![cfg_attr(
feature = "clippy",
allow(
clippy::unreadable_literal,
clippy::cognitive_complexity,
clippy::float_cmp,
clippy::match_like_matches_macro,
clippy::derive_partial_eq_without_eq
)
#![allow(
clippy::unreadable_literal,
clippy::cognitive_complexity,
clippy::float_cmp,
clippy::match_like_matches_macro,
clippy::derive_partial_eq_without_eq
)]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![cfg_attr(test, type_length_limit = "80000000")]
Expand Down

0 comments on commit 4f454b9

Please sign in to comment.