@@ -44,10 +44,10 @@ use from_str::FromStr;
44
44
*
45
45
* # Examples
46
46
* ~~~
47
- * rusti> core ::bool::not(true)
47
+ * rusti> std ::bool::not(true)
48
48
* false
49
49
* ~~~
50
- * rusti> core ::bool::not(false)
50
+ * rusti> std ::bool::not(false)
51
51
* true
52
52
* ~~~
53
53
*/
@@ -58,10 +58,10 @@ pub fn not(v: bool) -> bool { !v }
58
58
*
59
59
* # Examples
60
60
* ~~~
61
- * rusti> core ::bool::and(true, false)
61
+ * rusti> std ::bool::and(true, false)
62
62
* false
63
63
* ~~~
64
- * rusti> core ::bool::and(true, true)
64
+ * rusti> std ::bool::and(true, true)
65
65
* true
66
66
* ~~~
67
67
*/
@@ -72,10 +72,10 @@ pub fn and(a: bool, b: bool) -> bool { a && b }
72
72
*
73
73
* # Examples
74
74
* ~~~
75
- * rusti> core ::bool::or(true, false)
75
+ * rusti> std ::bool::or(true, false)
76
76
* true
77
77
* ~~~
78
- * rusti> core ::bool::or(false, false)
78
+ * rusti> std ::bool::or(false, false)
79
79
* false
80
80
* ~~~
81
81
*/
@@ -88,10 +88,10 @@ pub fn or(a: bool, b: bool) -> bool { a || b }
88
88
*
89
89
* # Examples
90
90
* ~~~
91
- * rusti> core ::bool::xor(true, false)
91
+ * rusti> std ::bool::xor(true, false)
92
92
* true
93
93
* ~~~
94
- * rusti> core ::bool::xor(true, true)
94
+ * rusti> std ::bool::xor(true, true)
95
95
* false
96
96
* ~~~
97
97
*/
@@ -106,10 +106,10 @@ pub fn xor(a: bool, b: bool) -> bool { (a && !b) || (!a && b) }
106
106
*
107
107
* # Examples
108
108
* ~~~
109
- * rusti> core ::bool::implies(true, true)
109
+ * rusti> std ::bool::implies(true, true)
110
110
* true
111
111
* ~~~
112
- * rusti> core ::bool::implies(true, false)
112
+ * rusti> std ::bool::implies(true, false)
113
113
* false
114
114
* ~~~
115
115
*/
@@ -122,10 +122,10 @@ pub fn implies(a: bool, b: bool) -> bool { !a || b }
122
122
*
123
123
* # Examples
124
124
* ~~~
125
- * rusti> core ::bool::eq(false, true)
125
+ * rusti> std ::bool::eq(false, true)
126
126
* false
127
127
* ~~~
128
- * rusti> core ::bool::eq(false, false)
128
+ * rusti> std ::bool::eq(false, false)
129
129
* true
130
130
* ~~~
131
131
*/
@@ -138,10 +138,10 @@ pub fn eq(a: bool, b: bool) -> bool { a == b }
138
138
*
139
139
* # Examples
140
140
* ~~~
141
- * rusti> core ::bool::ne(false, true)
141
+ * rusti> std ::bool::ne(false, true)
142
142
* true
143
143
* ~~~
144
- * rusti> core ::bool::ne(false, false)
144
+ * rusti> std ::bool::ne(false, false)
145
145
* false
146
146
* ~~~
147
147
*/
@@ -152,10 +152,10 @@ pub fn ne(a: bool, b: bool) -> bool { a != b }
152
152
*
153
153
* # Examples
154
154
* ~~~
155
- * rusti> core ::bool::is_true(true)
155
+ * rusti> std ::bool::is_true(true)
156
156
* true
157
157
* ~~~
158
- * rusti> core ::bool::is_true(false)
158
+ * rusti> std ::bool::is_true(false)
159
159
* false
160
160
* ~~~
161
161
*/
@@ -166,10 +166,10 @@ pub fn is_true(v: bool) -> bool { v }
166
166
*
167
167
* # Examples
168
168
* ~~~
169
- * rusti> core ::bool::is_false(false)
169
+ * rusti> std ::bool::is_false(false)
170
170
* true
171
171
* ~~~
172
- * rusti> core ::bool::is_false(true)
172
+ * rusti> std ::bool::is_false(true)
173
173
* false
174
174
* ~~~
175
175
*/
@@ -223,8 +223,8 @@ pub fn to_str(v: bool) -> ~str { if v { ~"true" } else { ~"false" } }
223
223
*
224
224
* # Examples
225
225
* ~~~
226
- * do core ::bool::all_values |x: bool| {
227
- * println(core ::bool::to_str(x));
226
+ * do std ::bool::all_values |x: bool| {
227
+ * println(std ::bool::to_str(x));
228
228
* }
229
229
* ~~~
230
230
*/
0 commit comments