Skip to content

Commit e11856c

Browse files
committed
---
yaml --- r: 21514 b: refs/heads/snap-stage3 c: c3fdc8c h: refs/heads/master v: v3
1 parent fdfd168 commit e11856c

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: e430a699f2c60890d9b86069fd0c68a70ece7120
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: ee37f8a0065f5e050b65aadabbb66fcae5085db4
4+
refs/heads/snap-stage3: c3fdc8c7b56fe8e786801b87f809ddc2f51eea42
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/doc/tutorial.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1993,19 +1993,6 @@ comparison operator, so you'll have to write `::<T>` to explicitly
19931993
give a type to a name that denotes a generic value. Fortunately, this
19941994
is rarely necessary.
19951995

1996-
## Polymorphic built-ins
1997-
1998-
There are two built-in operations that, perhaps surprisingly, act on
1999-
values of any type. It was already mentioned earlier that `log` can
2000-
take any type of value and output it.
2001-
2002-
More interesting is that Rust also defines an ordering for values of
2003-
all datatypes, and allows you to meaningfully apply comparison
2004-
operators (`<`, `>`, `<=`, `>=`, `==`, `!=`) to them. For structural
2005-
types, the comparison happens left to right, so `~"abc" < ~"bac"` (but
2006-
note that `~"bac" < ~"ác"`, because the ordering acts on UTF-8 sequences
2007-
without any sophistication).
2008-
20091996
## Kinds
20101997

20111998
Perhaps surprisingly, the 'copy' (duplicate) operation is not defined

0 commit comments

Comments
 (0)