From 55edb4a04f63214d90853fcd4137fc53efe4ec27 Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Mon, 9 Jan 2012 19:32:54 -0600 Subject: Replace all occurrences of 'when' with 'if' in documentation and tutorial. Also update the naturaldocs keywords file. Closes #1396 --- doc/tutorial/control.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/tutorial') diff --git a/doc/tutorial/control.md b/doc/tutorial/control.md index 966aeb2df52..fc89218b751 100644 --- a/doc/tutorial/control.md +++ b/doc/tutorial/control.md @@ -67,7 +67,7 @@ that `(float, float)` is a tuple of two floats: fn angle(vec: (float, float)) -> float { alt vec { - (0f, y) when y < 0f { 1.5 * std::math::pi } + (0f, y) if y < 0f { 1.5 * std::math::pi } (0f, y) { 0.5 * std::math::pi } (x, y) { std::math::atan(y / x) } } -- cgit 1.4.1-3-g733a5