We do not handle hooks yet.
Details
- Reviewers
SimonSapin - Group Reviewers
hg-reviewers - Commits
- rHGf11f233546ce: rhg: fallback if the current command has any generic hook defined
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
rust/rhg/src/main.rs | ||
---|---|---|
72 | Nit: "string literals" have type &'static str, so the extra & operators are unnecessary. (This prefix ends up with triple pointer indirection &&&str since .iter() adds another one! But by-value array iteration requires Rust 1.53) |
rust/rhg/src/main.rs | ||
---|---|---|
72 | Ah, I got confused since I started with b"pre" instead of b"pre", which doesn't work since the items differed in size, but it does not apply to &'static str, as you mentioned. |
rust/rhg/src/main.rs | ||
---|---|---|
72 | Ah yes, I only mentioned by value iteration in passing :) |
Nit: "string literals" have type &'static str, so the extra & operators are unnecessary. (This prefix ends up with triple pointer indirection &&&str since .iter() adds another one! But by-value array iteration requires Rust 1.53)