Skip to content

Commit

Permalink
Fixed documentation typo for actix-files (actix#1278)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkewley authored and fafhrd91 committed Jan 15, 2020
1 parent bca41f8 commit 412e54c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actix-files/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 412e54c

Please sign in to comment.