mirror of https://github.com/rwf2/Rocket.git
Clarify 'Options::Missing' exception in 'FileServer'.
This commit is contained in:
parent
786db9b832
commit
b6448fc016
|
@ -118,7 +118,8 @@ impl FileServer {
|
||||||
///
|
///
|
||||||
/// # Panics
|
/// # Panics
|
||||||
///
|
///
|
||||||
/// Panics if `path` does not exist or is not a directory.
|
/// If [`Options::Missing`] is not set, panics if `path` does not exist or
|
||||||
|
/// is not a directory. Otherwise does not panic.
|
||||||
///
|
///
|
||||||
/// # Example
|
/// # Example
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue