summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJustus Winter <justus@pep-project.org>2018-01-09 12:21:51 +0100
committerJustus Winter <justus@pep-project.org>2018-01-09 12:21:51 +0100
commit2b029c5caff79964d2b24408febd5e2066dcf522 (patch)
tree17d4d65c88269f52d84ecfcb12de7296e6c1683f /core
parent598cdc97094f067c92f222d2038cf7b4b69cc7af (diff)
core: Improve comment.
Diffstat (limited to 'core')
-rw-r--r--core/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/lib.rs b/core/src/lib.rs
index 78242206..82a59159 100644
--- a/core/src/lib.rs
+++ b/core/src/lib.rs
@@ -47,7 +47,7 @@ pub struct Context {
temp_dir: Option<TempDir>,
}
-/// Returns $PREXIX, or a reasonable default prefix.
+/// Returns $PREXIX at compile-time, or a reasonable default prefix.
fn prefix() -> PathBuf {
/* XXX: Windows support. */
PathBuf::from(option_env!("PREFIX").unwrap_or("/usr/local"))