1
0
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:
Lucas Meurer
2025-10-09 12:00:39 +02:00
committed by GitHub
parent cfca7ebd6d
commit da39198142
5 changed files with 7 additions and 5 deletions

View File

@@ -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.

View File

@@ -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