Skip to content

Commit

Permalink
Mention when to enable the 'editor' feature (#177)
Browse files Browse the repository at this point in the history
* Mention when to enable the 'editor' feature

I was confused at how to enable the Editor feature, which is to enable
the `editor` feature. Which is obvious in hindsight. This small doc PR
is meant to help prevent this point of confusion in the future.

* Move comment about Editor and DateSelect prompts

* Remove comment line already moved

* Remove extra whitespace
  • Loading branch information
rchriste authored Nov 1, 2023
1 parent 8613566 commit 1c7ece7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inquire/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
//! - [`CustomType`] for text prompts that you would like to parse to a custom type, such as numbers or UUIDs;
//! - [`Password`] for secretive text prompts.
//!
//! \* The Editor and DateSelect prompts are available by enabling the `editor` and `date` features, respectively.
//!
//! Check out the [GitHub repository](https://github.com/mikaelmello/inquire) to see demos of what you can do with `inquire`.
//!
//! # Features
Expand All @@ -28,8 +30,6 @@
//! - Custom extensions for files created by [`Editor`] prompts;
//! - and many others!
//!
//! \* Date-related features are available by enabling the `date` feature.
//!
//! # Simple Example
//!
//! ```rust no_run
Expand Down

0 comments on commit 1c7ece7

Please sign in to comment.