File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -308,27 +308,27 @@ macro_rules! unreachable {
308308///
309309/// ```
310310/// # trait Foo {
311- /// # fn foo(&self);
312311/// # fn bar(&self);
312+ /// # fn baz(&self);
313313/// # }
314314/// struct MyStruct;
315315///
316316/// impl Foo for MyStruct {
317- /// fn foo (&self) {
317+ /// fn bar (&self) {
318318/// // implementation goes here
319319/// }
320320///
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
323323/// unimplemented!();
324324/// }
325325/// }
326326///
327327/// fn main() {
328328/// let s = MyStruct;
329- /// s.foo ();
329+ /// s.bar ();
330330///
331- /// // we aren't even using bar () yet, so this is fine.
331+ /// // we aren't even using baz () yet, so this is fine.
332332/// }
333333/// ```
334334#[ macro_export]
You can’t perform that action at this time.
0 commit comments