Skip to content

Commit

Permalink
Update samples/language/EntryPoint.qs
Browse files Browse the repository at this point in the history
Co-authored-by: Stefan J. Wernli <[email protected]>
  • Loading branch information
sezna and swernli authored Aug 20, 2024
1 parent f37e2d3 commit 373432b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion samples/language/EntryPoint.qs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
// The `@EntryPoint()` attribute is used to designate a particular operation as
// the entry point of a Q# program rather than requiring entry points to have
// a particular name such as `main`, `Main`, or `__main__`.
// The Q# compiler identifies `Main` as the entry point operation because it is marked with the `@EntryPoint()` attribute.
// The Q# compiler identifies `Main` as the entry point operation by its name.
// An entry point can also have any name if it is also marked with the `@EntryPoint()` attribute.

function Main() : Result[] {
return [];
Expand Down

0 comments on commit 373432b

Please sign in to comment.