Skip to content

Commit

Permalink
Merge pull request #58 from AndrejMitrovic/staticIndexOf
Browse files Browse the repository at this point in the history
Added missing format specifier in call to writefln.
  • Loading branch information
andralex committed May 26, 2011
2 parents 4ccd524 + 0a19e38 commit 701bc75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/typetuple.d
Expand Up @@ -66,7 +66,7 @@ template TypeTuple(TList...)
*
* void foo()
* {
* writefln("The index of long is ",
* writefln("The index of long is %s",
* staticIndexOf!(long, TypeTuple!(int, long, double)));
* // prints: The index of long is 1
* }
Expand Down

0 comments on commit 701bc75

Please sign in to comment.