Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-07-24 | chore: Minor changes to use more idiomatic Rust (integer max values; ↵ | larswirzenius | |
complicates nested expressions) (#6090) * chore: use current way to get max value of an integer type The std::usize::MAX way has been obsolete for quite some time now. Found by clippy (clippy::legacy_numeric_constants). Signed-off-by: Lars Wirzenius <liw@liw.fi> * chore: use helper variable for a more idiomatic pattern matching A nested expression can be harder to understand than two simpler expressions. (Found by clippy lint clippy::blocks_in_conditions.) Signed-off-by: Lars Wirzenius <liw@liw.fi> --------- Signed-off-by: Lars Wirzenius <liw@liw.fi> Co-authored-by: Lars Wirzenius <liw@liw.fi> | |||
2022-10-11 | feat(module): Add a meson devenv indicator (#4389) | Jamie | |
* feat(module): Add a meson devenv indicator Adds a Meson Developer Environment indicator, if the MESON_DEVENV variable is set. Inside a `meson devenv`, the prompt will include the current Meson project name This also contains a new Truncate utility function, which may be adapted for other modules in the future * docs: Add Meson to presets |