Clarify 'Options::Missing' exception in 'FileServer'.

This commit is contained in:
Sergio Benitez 2021-07-21 15:48:15 -07:00
parent 786db9b832
commit b6448fc016
1 changed files with 2 additions and 1 deletions

View File

@ -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
/// ///