Skip to content

Commit 09a2ffc

Browse files
committed
---
yaml --- r: 32284 b: refs/heads/dist-snap c: c3fdc8c h: refs/heads/master v: v3
1 parent 6f1cdbd commit 09a2ffc

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
@@ -7,6 +7,6 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
10-
refs/heads/dist-snap: ee37f8a0065f5e050b65aadabbb66fcae5085db4
10+
refs/heads/dist-snap: c3fdc8c7b56fe8e786801b87f809ddc2f51eea42
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/dist-snap/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)