Fixed documentation typo for actix-files

This commit is contained in:
Adam Kewley 2020-01-15 18:57:35 +00:00
parent bca41f8d40
commit 96dfd5d9d4
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ impl Files {
///
/// `File` uses `ThreadPool` for blocking filesystem operations.
/// By default pool with 5x threads of available cpus is used.
/// Pool size can be changed by setting ACTIX_CPU_POOL environment variable.
/// Pool size can be changed by setting ACTIX_THREADPOOL environment variable.
pub fn new<T: Into<PathBuf>>(path: &str, dir: T) -> Files {
let orig_dir = dir.into();
let dir = match orig_dir.canonicalize() {