mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-31 13:52:08 +00:00
Clarify 'Options::Missing' exception in 'FileServer'.
This commit is contained in:
parent
786db9b832
commit
b6448fc016
@ -118,7 +118,8 @@ impl FileServer {
|
||||
///
|
||||
/// # 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
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user