Skip to main content

notice

Function notice 

Source
pub fn notice(latest: &str, current: &str, hint: &str) -> Option<String>
Expand description

The line shown when latest is ahead of current, and None otherwise.

It names the version, the running version and the one command that upgrades this install, because a notice that says only “update available” makes the reader go looking for how.