diff options
author | Rory Dudley | 2024-03-26 13:30:25 -0600 |
---|---|---|
committer | Rory Dudley | 2024-03-26 13:30:25 -0600 |
commit | 8e4cb90688998cca683fb3bfa885c6834079b3e9 (patch) | |
tree | 5018ba67f0dad4bb0302fb1d14e5d72bcc2a4976 /src/poem/recite.rs | |
parent | 4acd6abcbd92770e83a0820a65237cc8da859355 (diff) | |
download | dwarvish-8e4cb90688998cca683fb3bfa885c6834079b3e9.tar.gz |
Rename prefresh()
Rename the path::prefresh() function to path::refresh(). Calling
convention should be to `use crate::path;` or `mod path;`, and then call
path::refresh(...), for verbosity.
Diffstat (limited to 'src/poem/recite.rs')
-rw-r--r-- | src/poem/recite.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/poem/recite.rs b/src/poem/recite.rs index 1d41c40..f28436e 100644 --- a/src/poem/recite.rs +++ b/src/poem/recite.rs @@ -1,6 +1,6 @@ mod ps; use super::Poem; -use crate::path::prefresh; +use crate::path; use crate::poem::elements::rune::Rune; use std::env; use std::process::exit; @@ -159,7 +159,7 @@ impl Reciteable for Poem { // again // If it still doesn't exist, print an error if !verse.spellcheck(bins) { - *bins = prefresh(path); + *bins = path::refresh(path); if !verse.spellcheck(bins) { eprintln!("dwvsh: {}: command not found", verse.verb()); |