Mention flags are not supported by Sandbox

Fixes #291
This commit is contained in:
Héctor Ramón Jiménez 2020-04-15 07:56:25 +02:00
parent 99352f02fd
commit 5cb40dc095

View File

@ -6,11 +6,11 @@ use crate::{executor, Application, Command, Element, Settings, Subscription};
/// simpler interface than [`Application`]. /// simpler interface than [`Application`].
/// ///
/// Unlike an [`Application`], a [`Sandbox`] cannot run any asynchronous /// Unlike an [`Application`], a [`Sandbox`] cannot run any asynchronous
/// actions. However, both traits are very similar and upgrading from a /// actions or be initialized with some external flags. However, both traits
/// [`Sandbox`] is very straightforward. /// are very similar and upgrading from a [`Sandbox`] is very straightforward.
/// ///
/// Therefore, it is recommended to always start by implementing this trait and /// Therefore, it is recommended to always start by implementing this trait and
/// upgrade only once you need to perform asynchronous work. /// upgrade only once necessary.
/// ///
/// [`Application`]: trait.Application.html /// [`Application`]: trait.Application.html
/// [`Sandbox`]: trait.Sandbox.html /// [`Sandbox`]: trait.Sandbox.html