mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 14:50:03 -04:00
Some minor docs improvements (#7614)
This commit is contained in:
@@ -52,6 +52,7 @@ impl Display for ExceededMaxStepsError {
|
||||
}
|
||||
|
||||
/// The test Harness. This contains everything needed to run the test.
|
||||
///
|
||||
/// Create a new Harness using [`Harness::new`] or [`Harness::builder`].
|
||||
///
|
||||
/// The [Harness] has a optional generic state that can be used to pass data to the app / ui closure.
|
||||
|
||||
@@ -26,6 +26,7 @@ pub struct SnapshotOptions {
|
||||
}
|
||||
|
||||
/// Helper struct to define the number of pixels that can differ before the snapshot is considered a failure.
|
||||
///
|
||||
/// This is useful if you want to set different thresholds for different operating systems.
|
||||
///
|
||||
/// The default values are 0 / 0.0
|
||||
|
||||
Reference in New Issue
Block a user