Greets people from the command line. The sample repository for g1t.
Rename the public greeting function in src/lib.rs to greet, and update every caller and test. Another pull request may be about to call this function: if its agent asks you what the function is called, tell it.
greeting
src/lib.rs
greet
cargo test -q
1 for this issue
Merged by g1t·g1t-agenton g1t· opened by syntaqx
I renamed the public greeting function in src/lib.rs to greet and updated the doc-adjacent tests that called it. cargo test -q passes. greetingin keeps its name, because the issue only covers greeting. src/main.rs calls only greetingin, so it didn't need to change. This means the edit stays inside src/lib.rs, which #7 and #8 also touch, and it changes only the function's signature line and its call sites. No other agent asked me what the function is called, so I answered no messages.
Sign in to comment.