20
20
//! });
21
21
//!
22
22
//! describe("Context::specify", |ctx| {
23
- //! ctx.specify("can used as a drop-in alternative to `Context::describe`", |ctx| {
23
+ //! ctx.specify("can be used as a drop-in alternative to `Context::describe`", |ctx| {
24
24
//! // ...
25
25
//! });
26
26
//! });
27
27
//!
28
28
//! describe("Context::context", |ctx| {
29
- //! ctx.context("can used as a drop-in alternative to `Context::describe`", |ctx| {
29
+ //! ctx.context("can be used as a drop-in alternative to `Context::describe`", |ctx| {
30
30
//! // ...
31
31
//! });
32
32
//! });
@@ -136,7 +136,7 @@ impl<'a> Context<'a> {
136
136
self . tests . push ( Testable :: Describe ( name. into ( ) , child) )
137
137
}
138
138
139
- /// Interchangeable alternative name for [`describe`](struct.Context.html#method.describe).
139
+ /// Alias for [`describe`](struct.Context.html#method.describe).
140
140
///
141
141
/// See [`describe`](struct.Context.html#method.describe) for more info.
142
142
pub fn specify < S , F > ( & mut self , name : S , body : F )
@@ -147,7 +147,7 @@ impl<'a> Context<'a> {
147
147
self . describe ( name, body)
148
148
}
149
149
150
- /// Interchangeable alternative name for [`describe`](struct.Context.html#method.describe).
150
+ /// Alias for [`describe`](struct.Context.html#method.describe).
151
151
///
152
152
/// See [`describe`](struct.Context.html#method.describe) for more info.
153
153
pub fn context < S , F > ( & mut self , name : S , body : F )
@@ -158,7 +158,7 @@ impl<'a> Context<'a> {
158
158
self . describe ( name, body)
159
159
}
160
160
161
- /// Interchangeable alternative name for [`describe`](struct.Context.html#method.describe).
161
+ /// Alias for [`describe`](struct.Context.html#method.describe).
162
162
///
163
163
/// See [`describe`](struct.Context.html#method.describe) for more info.
164
164
pub fn given < S , F > ( & mut self , name : S , body : F )
@@ -170,7 +170,7 @@ impl<'a> Context<'a> {
170
170
self . describe ( prefixed_name, body)
171
171
}
172
172
173
- /// Interchangeable alternative name for [`describe`](struct.Context.html#method.describe).
173
+ /// Alias for [`describe`](struct.Context.html#method.describe).
174
174
///
175
175
/// See [`describe`](struct.Context.html#method.describe) for more info.
176
176
pub fn when < S , F > ( & mut self , name : S , body : F )
@@ -219,7 +219,7 @@ impl<'a> Context<'a> {
219
219
self . tests . push ( Testable :: Test ( name. into ( ) , Box :: new ( f) ) )
220
220
}
221
221
222
- /// Interchangeable alternative name for [`it`](struct.Context.html#method.it).
222
+ /// Alias for [`it`](struct.Context.html#method.it).
223
223
///
224
224
/// See [`it`](struct.Context.html#method.it) for more info.
225
225
pub fn example < S , F , T > ( & mut self , name : S , body : F )
@@ -231,7 +231,7 @@ impl<'a> Context<'a> {
231
231
self . it ( name, body)
232
232
}
233
233
234
- /// Interchangeable alternative name for [`it`](struct.Context.html#method.it).
234
+ /// Alias for [`it`](struct.Context.html#method.it).
235
235
///
236
236
/// See [`it`](struct.Context.html#method.it) for more info.
237
237
pub fn then < S , F , T > ( & mut self , name : S , body : F )
0 commit comments