More code refactor.
This commit is contained in:
@@ -170,7 +170,7 @@ impl FileModuleResolver {
|
||||
#[inline(always)]
|
||||
#[must_use]
|
||||
pub fn base_path(&self) -> Option<&Path> {
|
||||
self.base_path.as_ref().map(<_>::as_ref)
|
||||
self.base_path.as_deref()
|
||||
}
|
||||
/// Set the base path for script files.
|
||||
#[inline(always)]
|
||||
|
Reference in New Issue
Block a user