File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -308,27 +308,27 @@ macro_rules! unreachable {
308
308
///
309
309
/// ```
310
310
/// # trait Foo {
311
- /// # fn foo(&self);
312
311
/// # fn bar(&self);
312
+ /// # fn baz(&self);
313
313
/// # }
314
314
/// struct MyStruct;
315
315
///
316
316
/// impl Foo for MyStruct {
317
- /// fn foo (&self) {
317
+ /// fn bar (&self) {
318
318
/// // implementation goes here
319
319
/// }
320
320
///
321
- /// fn bar (&self) {
322
- /// // let's not worry about implementing bar () for now
321
+ /// fn baz (&self) {
322
+ /// // let's not worry about implementing baz () for now
323
323
/// unimplemented!();
324
324
/// }
325
325
/// }
326
326
///
327
327
/// fn main() {
328
328
/// let s = MyStruct;
329
- /// s.foo ();
329
+ /// s.bar ();
330
330
///
331
- /// // we aren't even using bar () yet, so this is fine.
331
+ /// // we aren't even using baz () yet, so this is fine.
332
332
/// }
333
333
/// ```
334
334
#[ macro_export]
You can’t perform that action at this time.
0 commit comments