Skip to content

Commit 47e57e8

Browse files
committed
Fix future missing_docs lint.
rustc 1.83 will lint `missing_docs` in `--test` builds, which did not occur previously. <rust-lang/rust#130025>
1 parent 5cabc06 commit 47e57e8

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

all-is-cubes-desktop/tests/end-to-end.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//! Tests which execute the `all-is-cubes` binary.
2+
13
#[test]
24
fn trycmd_tests() {
35
let tc = trycmd::TestCases::new();

all-is-cubes-port/src/gltf/buffer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ struct Inner {
4444

4545
impl GltfDataDestination {
4646
#[cfg(test)]
47-
pub fn null() -> GltfDataDestination {
47+
pub(crate) fn null() -> GltfDataDestination {
4848
Self(Arc::new(Inner {
4949
discard: true,
5050
maximum_inline_length: 0,

all-is-cubes/src/transaction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub use generic::*;
1414
#[cfg(test)]
1515
mod tester;
1616
#[cfg(test)]
17-
pub use tester::*;
17+
pub(crate) use tester::*;
1818

1919
/// A mutation that is to be performed atomically.
2020
///

0 commit comments

Comments
 (0)