Skip to content

Commit

Permalink
Document filter attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKnauth committed Dec 14, 2023
1 parent e7b7dc2 commit 53a1688
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions asr-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@ use syn::{
/// # }
/// ```
///
/// A file selection filter can include `*` wildcards, for example `"*.txt"`,
/// and multiple patterns separated by `;` semicolons, like `"*.txt;*.md"`:
///
/// ```no_run
/// # struct Settings {
/// #[filter = "*.txt;*.md"]
/// text_file: FileSelection,
/// # }
/// ```
///
/// # Choices
///
/// You can derive `Gui` for an enum to create a choice widget. You can mark one
Expand Down

0 comments on commit 53a1688

Please sign in to comment.