Browse Source

Fixed documentation typo for actix-files (#1278)

master
Adam Kewley 2 years ago committed by Nikolay Kim
parent
commit
412e54ce10
  1. 2
      actix-files/src/lib.rs

2
actix-files/src/lib.rs

@ -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() {

Loading…
Cancel
Save