Skip to content

Commit

Permalink
Generate documentation for the rest of the workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
9999years committed Apr 11, 2024
1 parent 00ddf09 commit 9a2543a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nix/packages/ghciwatch.nix
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
});
ghciwatch-doc = craneLib.cargoDoc (commonArgs
// {
cargoDocExtraArgs = "--document-private-items";
cargoDocExtraArgs = "--document-private-items --no-deps --workspace";
RUSTDOCFLAGS = "-D warnings";
});
ghciwatch-fmt = craneLib.cargoFmt commonArgs;
Expand Down
4 changes: 2 additions & 2 deletions test-harness/src/ghciwatch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ pub struct GhciWatch {
startup_timeout: Duration,
/// Filesystem helpers.
fs: Fs,
/// Data for this particular `ghciwatch` run. This changes when [`GhciWatch::restart`] is
/// called.
/// Data for this particular `ghciwatch` run. This changes when
/// [`GhciWatch::restart_ghciwatch`] is called.
ghciwatch: Session,
}

Expand Down
2 changes: 1 addition & 1 deletion test-harness/src/internal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ thread_local! {
///
/// Then we run the user test code. If it errors, we save the logs to `CARGO_TARGET_TMPDIR`.
///
/// Finally, we wait for the process set by [`set_ghciwatch_process`] to exit and clean up the
/// Finally, we wait for the process set by `set_ghciwatch_process` to exit and clean up the
/// temporary directory `GhciWatch` created.
pub async fn wrap_test(
test: impl Future<Output = ()> + Send + 'static,
Expand Down
1 change: 1 addition & 0 deletions test-harness/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ pub use serde_json::Value as JsonValue;

mod tracing_json;
pub use tracing_json::Event;
pub use tracing_json::Span;

mod tracing_reader;

Expand Down

0 comments on commit 9a2543a

Please sign in to comment.