From 8164792927bc75d71bf22da19b7f70e2ed89f452 Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Mon, 14 May 2018 21:52:49 -0500 Subject: [PATCH] Documentation fix. --- src/lib.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index b90eb40..5e405f3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -273,12 +273,6 @@ //! UCG binary operators follow the typical operator precedence for math. `*` and `/` are higher precendence than //! `+` and `-` which are higher precedence than any of the comparison operators. //! -//! ```ucg -//! 1+1 == 2; // this will be a type error. The + expects an integer but it has a boolean expression -//! // on the right. -//! (1+1) == 2; // this succeeds because the parentheses force evaluation of the addition first. -//! ``` -//! //! #### Copy expressions //! //! ucg Tuples support a form of reuse with copy on write semantics. You can copy a tuple and selectively overwrite fields or add new