mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 01:28:18 +03:00
docs: make example in new_without_default lint syntax highlighted
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
///
|
||||
/// **Example:**
|
||||
///
|
||||
/// ```rust,ignore
|
||||
/// ```rust
|
||||
/// struct Foo(Bar);
|
||||
///
|
||||
/// impl Foo {
|
||||
@@ -63,7 +63,7 @@
|
||||
///
|
||||
/// **Example:**
|
||||
///
|
||||
/// ```rust,ignore
|
||||
/// ```rust
|
||||
/// struct Foo;
|
||||
///
|
||||
/// impl Foo {
|
||||
|
||||
Reference in New Issue
Block a user