File tree 1 file changed +10
-11
lines changed
1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -355,20 +355,19 @@ macro_rules! try {
355
355
/// implementation details of the components.
356
356
///
357
357
/// ```no_run
358
- /// # extern crate core;
359
- /// use core::fmt::Write;
358
+ /// # extern crate core;
359
+ /// use core::fmt::Write;
360
360
///
361
- /// struct Example{
362
- /// }
361
+ /// struct Example;
363
362
///
364
- /// impl Write for Example{
365
- /// fn write_str(&mut self, _s: &str) -> core::fmt::Result {
366
- /// unimplemented!();
367
- /// }
368
- /// }
363
+ /// impl Write for Example {
364
+ /// fn write_str(&mut self, _s: &str) -> core::fmt::Result {
365
+ /// unimplemented!();
366
+ /// }
367
+ /// }
369
368
///
370
- /// let mut m = Example{};
371
- /// write!(&mut m, "Hello World").expect("Not written");
369
+ /// let mut m = Example{};
370
+ /// write!(&mut m, "Hello World").expect("Not written");
372
371
/// ```
373
372
#[ macro_export]
374
373
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
You can’t perform that action at this time.
0 commit comments