Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonboukheir authored Mar 11, 2021
1 parent dcc5188 commit 0d291ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var selected = myArray.Select(val => val.Item);
[BurstCompile]
public static int SelectItem(MyVal val) => val.Item;

public static readonly BurstFunc<MyVal, int> SelectItemFunc = BustFunc.Compile(SelectItem);
public static readonly BurstFunc<MyVal, int> SelectItemFunc = BustFunc<MyVal, int>.Compile(SelectItem);

// Now we can finally call ``Select``
var selected = myArray.Select(SelectItemFunc);
Expand Down

0 comments on commit 0d291ef

Please sign in to comment.