Skip to content

Commit 6308590

Browse files
committed
feat: Remove @nogc from between function to allow garbage collection
1 parent d3a318d commit 6308590

File tree

1 file changed

+1
-1
lines changed
  • source/fluentasserts/operations/comparison

1 file changed

+1
-1
lines changed

source/fluentasserts/operations/comparison/between.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ static immutable betweenDescription = "Asserts that the target is a number or a
2222
"and less than or equal to the given number or date finish respectively. However, it's often best to assert that the target is equal to its expected value.";
2323

2424
/// Asserts that a value is strictly between two bounds (exclusive).
25-
void between(T)(ref Evaluation evaluation) @safe nothrow @nogc {
25+
void between(T)(ref Evaluation evaluation) @safe nothrow {
2626
evaluation.result.addText(" and ");
2727
evaluation.result.addValue(evaluation.expectedValue.meta["1"]);
2828
evaluation.result.addText(". ");

0 commit comments

Comments
 (0)