mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
fix: Fix broken build (#453)
The clone optimization PR didn't have the latest changes for "azure_policy". Integration resulted in compile errors. Also fix errors due to updated clippy lints. Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
This commit is contained in:
committed by
GitHub
parent
dbba57f499
commit
de6aa2bcd1
@@ -267,7 +267,7 @@ struct GoTimeFormatItems<'a> {
|
||||
}
|
||||
|
||||
impl GoTimeFormatItems<'_> {
|
||||
fn parse(reminder: &str) -> GoTimeFormatItems {
|
||||
fn parse(reminder: &str) -> GoTimeFormatItems<'_> {
|
||||
GoTimeFormatItems {
|
||||
reminder,
|
||||
queue: &[],
|
||||
@@ -275,7 +275,7 @@ impl GoTimeFormatItems<'_> {
|
||||
}
|
||||
}
|
||||
|
||||
fn format(reminder: &str) -> GoTimeFormatItems {
|
||||
fn format(reminder: &str) -> GoTimeFormatItems<'_> {
|
||||
GoTimeFormatItems {
|
||||
reminder,
|
||||
queue: &[],
|
||||
|
||||
@@ -108,7 +108,7 @@ fn parse(span: &Span, params: &[Ref<Expr>], args: &[Value], _strict: bool) -> Re
|
||||
n.mul_assign(&Number::two_pow(e)?)?;
|
||||
Ok(Value::from(n))
|
||||
} else {
|
||||
return Ok(Value::Undefined);
|
||||
Ok(Value::Undefined)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user