Fix code blocks in docstrings
This commit is contained in:
parent
3f7e985b3f
commit
eb36bfa2ea
1 changed files with 4 additions and 4 deletions
|
|
@ -16,7 +16,7 @@ pub struct BorderLook {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl BorderLook {
|
impl BorderLook {
|
||||||
/// ```
|
/// ```text
|
||||||
/// +-------+
|
/// +-------+
|
||||||
/// | Hello |
|
/// | Hello |
|
||||||
/// +-------+
|
/// +-------+
|
||||||
|
|
@ -32,7 +32,7 @@ impl BorderLook {
|
||||||
right: "|",
|
right: "|",
|
||||||
};
|
};
|
||||||
|
|
||||||
/// ```
|
/// ```text
|
||||||
/// ┌───────┐
|
/// ┌───────┐
|
||||||
/// │ Hello │
|
/// │ Hello │
|
||||||
/// └───────┘
|
/// └───────┘
|
||||||
|
|
@ -48,7 +48,7 @@ impl BorderLook {
|
||||||
right: "│",
|
right: "│",
|
||||||
};
|
};
|
||||||
|
|
||||||
/// ```
|
/// ```text
|
||||||
/// ┏━━━━━━━┓
|
/// ┏━━━━━━━┓
|
||||||
/// ┃ Hello ┃
|
/// ┃ Hello ┃
|
||||||
/// ┗━━━━━━━┛
|
/// ┗━━━━━━━┛
|
||||||
|
|
@ -64,7 +64,7 @@ impl BorderLook {
|
||||||
right: "┃",
|
right: "┃",
|
||||||
};
|
};
|
||||||
|
|
||||||
/// ```
|
/// ```text
|
||||||
/// ╔═══════╗
|
/// ╔═══════╗
|
||||||
/// ║ Hello ║
|
/// ║ Hello ║
|
||||||
/// ╚═══════╝
|
/// ╚═══════╝
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue