Skip to content

Commit 953bd0b

Browse files
maan2003cmyr
authored andcommitted
Add and fix examples comments
1 parent 5ec55e5 commit 953bd0b

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

druid/examples/hello.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// limitations under the License.
1414

1515
//! This is a very small example of how to setup a druid application.
16-
//! It does the almost bare minimum while still being usefull.
16+
//! It does the almost bare minimum while still being useful.
1717
1818
use druid::widget::prelude::*;
1919
use druid::widget::{Flex, Label, TextBox};

druid/examples/lens.rs

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//! This example shows basic usage of Lens
16+
1517
use druid::widget::Slider;
1618
use druid::widget::{CrossAxisAlignment, Flex, Label, TextBox};
1719
use druid::{AppLauncher, Data, Env, Lens, LocalizedString, Widget, WidgetExt, WindowDesc};

druid/examples/open_save.rs

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//! Usage of file open and saving.
16+
1517
use druid::widget::{Align, Button, Flex, TextBox};
1618
use druid::{
1719
commands, AppDelegate, AppLauncher, Command, DelegateCtx, Env, FileDialogOptions, FileSpec,

0 commit comments

Comments
 (0)