mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 06:03:09 -05:00
Fix formatting of comment
This commit is contained in:
parent
1a001b9eb7
commit
1ed03cf0a1
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ pub fn main() void {
|
||||||
fn printSequence(my_seq: anytype) void {
|
fn printSequence(my_seq: anytype) void {
|
||||||
const my_typeinfo = @typeInfo(@TypeOf(my_seq));
|
const my_typeinfo = @typeInfo(@TypeOf(my_seq));
|
||||||
|
|
||||||
// The TypeInfo contained in my_typeinfo is a union. We use
|
// The TypeInfo contained in my_typeinfo is a union. We use
|
||||||
// a switch to handle printing the Array or Pointer fields,
|
// a switch to handle printing the Array or Pointer fields,
|
||||||
// depending on which type of my_seq was passed in:
|
// depending on which type of my_seq was passed in:
|
||||||
switch (my_typeinfo) {
|
switch (my_typeinfo) {
|
||||||
|
|
Loading…
Reference in a new issue