Skip to content

Commit cad0acb

Browse files
committed
---
yaml --- r: 148831 b: refs/heads/try2 c: 3e0eb3c h: refs/heads/master i: 148829: 319f749 148827: 1a375ea 148823: ebc9cb6 148815: f0c39a8 148799: 29234b9 v: v3
1 parent 2ad8190 commit cad0acb

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: fdf985cd14d7f83181527c7d911b1b7b7d7b3d65
8+
refs/heads/try2: 3e0eb3c0bf9a220e4e44014df08ffd2d1194315b
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/doc/rust.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ syntax, and yet are not implementable as functions. Instead, they are given
482482
names, and invoked through a consistent syntax: `name!(...)`. Examples
483483
include:
484484

485-
* `fmt!` : format data into a string
485+
* `format!` : format data into a string
486486
* `env!` : look up an environment variable's value at compile time
487487
* `file!`: return the path to the file being compiled
488488
* `stringify!` : pretty-print the Rust expression given as an argument
@@ -1975,10 +1975,6 @@ Supported traits for `deriving` are:
19751975
* `Rand`, to create a random instance of a data type.
19761976
* `Default`, to create an empty instance of a data type.
19771977
* `Zero`, to create an zero instance of a numeric data type.
1978-
* `ToStr`, to convert to a string. For a type with this instance,
1979-
`obj.to_str()` has similar output as `fmt!("%?", obj)`, but it differs in that
1980-
each constituent field of the type must also implement `ToStr` and will have
1981-
`field.to_str()` invoked to build up the result.
19821978
* `FromPrimitive`, to create an instance from a numeric primitve.
19831979

19841980
### Stability

0 commit comments

Comments
 (0)