Skip to content

Commit 24e3b33

Browse files
committed
---
yaml --- r: 28200 b: refs/heads/try c: c3fdc8c h: refs/heads/master v: v3
1 parent 6511568 commit 24e3b33

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
@@ -2,7 +2,7 @@
22
refs/heads/master: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5-
refs/heads/try: ee37f8a0065f5e050b65aadabbb66fcae5085db4
5+
refs/heads/try: c3fdc8c7b56fe8e786801b87f809ddc2f51eea42
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df

branches/try/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)