From 926fb051de17ec6cac291e69a8e87c0e127bebda Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Fri, 1 Mar 2024 09:35:20 +0100 Subject: [PATCH] Rename window example to `full`, to signify that it's a large example --- Cargo.toml | 2 +- examples/{window.rs => full.rs} | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) rename examples/{window.rs => full.rs} (99%) diff --git a/Cargo.toml b/Cargo.toml index f4b93a424..8725948f2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -257,7 +257,7 @@ web-sys = { version = "0.3.22", features = ['CanvasRenderingContext2d'] } [[example]] doc-scrape-examples = true -name = "window" +name = "full" [workspace] resolver = "2" diff --git a/examples/window.rs b/examples/full.rs similarity index 99% rename from examples/window.rs rename to examples/full.rs index deb8b43ab..b879af553 100644 --- a/examples/window.rs +++ b/examples/full.rs @@ -1,4 +1,7 @@ -//! Simple winit application. +//! An example showcasing various functionality that Winit has. +//! +//! Often used by Winit developers to test certain functionality, may be a bit +//! verbose. use std::collections::HashMap; use std::error::Error;