Fix clippy warnings with 1.58 & convert some format strings to capture-args

This commit is contained in:
Noa 2022-01-13 23:08:56 -06:00
parent c0c3eaad8f
commit d9653b4895

View file

@ -88,6 +88,7 @@ struct CompileContext {
}
#[derive(Debug, Clone, Copy, PartialEq)]
#[allow(clippy::enum_variant_names)]
enum FunctionContext {
NoFunction,
Function,