Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions ctest/src/generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,10 @@ impl TestGenerator {
///
/// # Examples
///
/// This method can be used to remove the `struct` keyword from types in the
/// generated tests. For example, the code below will generate tests for
/// `timeval_t` rather than `struct timeval`.
///
/// ```no_run
/// use ctest::TestGenerator;
///
Expand All @@ -950,6 +954,10 @@ impl TestGenerator {
///
/// # Examples
///
/// This method can be used to remove the `union` keyword from types in the
/// generated tests. For example, the code below will generate tests for
/// `__T1Union` rather than `union T1Union`.
///
/// ```no_run
/// use ctest::TestGenerator;
///
Expand Down