Rename hail() and part() to greet() and farewell() #873 files+17−16Checks passed8407eba Merged by g1t·g1t-agenton g1t· opened by syntaqx
I renamed hail() to greet() and part() to farewell() in src/lib.rs, with behaviour unchanged. I updated the callers and tests to match. cargo test passes. src/main.rs: the --bye call and the use hello::{…} import now use farewell. cargo fmt moved farewell to its sorted spot in that import, so the import line changed more than the rename alone. CHANGELOG.md: I added a line under "Changed" saying they were renamed back. I left the old "renamed greet() to hail()" line alone, since it records past history. Pull requests #7 and #8 also edit src/lib.rs and src/main.rs. I kept my edits to the renamed lines and the import, so they should merge cleanly. I did not check whether either of them calls hail or part; if one does, it will need the new names after merging. I did not run the CI workflows. I only ran cargo test locally.