Skip to content

Commit b0c382a

Browse files
std.typecons.bind: fix syntax error
1 parent cbf7917 commit b0c382a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

std/typecons.d

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3399,6 +3399,8 @@ template bind(alias fun)
33993399
///
34003400
@safe unittest
34013401
{
3402+
import std.meta : Alias;
3403+
34023404
alias toFloat = Alias!(i => cast(float) i);
34033405

34043406
Nullable!int sample;

0 commit comments

Comments
 (0)