Skip to content

Commit

Permalink
Fix future missing_docs lint.
Browse files Browse the repository at this point in the history
rustc 1.83 will lint `missing_docs` in `--test` builds, which did not
occur previously. <rust-lang/rust#130025>
  • Loading branch information
kpreid committed Sep 13, 2024
1 parent 5cabc06 commit 47e57e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions all-is-cubes-desktop/tests/end-to-end.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! Tests which execute the `all-is-cubes` binary.

#[test]
fn trycmd_tests() {
let tc = trycmd::TestCases::new();
Expand Down
2 changes: 1 addition & 1 deletion all-is-cubes-port/src/gltf/buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ struct Inner {

impl GltfDataDestination {
#[cfg(test)]
pub fn null() -> GltfDataDestination {
pub(crate) fn null() -> GltfDataDestination {
Self(Arc::new(Inner {
discard: true,
maximum_inline_length: 0,
Expand Down
2 changes: 1 addition & 1 deletion all-is-cubes/src/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub use generic::*;
#[cfg(test)]
mod tester;
#[cfg(test)]
pub use tester::*;
pub(crate) use tester::*;

/// A mutation that is to be performed atomically.
///
Expand Down

0 comments on commit 47e57e8

Please sign in to comment.