Skip to content

Commit

Permalink
Improve the docs
Browse files Browse the repository at this point in the history
Summary: Before they were rendered not in a block, so came out really weird.

Reviewed By: lmvasquezg

Differential Revision: D46436300

fbshipit-source-id: 5b502967df18c5463b012c21f4ae4c599aba6740
  • Loading branch information
ndmitchell authored and facebook-github-bot committed Jun 5, 2023
1 parent 61856bc commit 657b19b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/bordering.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ use crate::Span;
/// Horizontal borders (i.e. top and bottom) are transposed. For example, if `top = Word::new_unstyled("@@")`,
/// then the resulting output would look something like this:
///
/// ```console
/// @@@@@@@@@@@@@@@@@@@@@
/// @@@@@@@@@@@@@@@@@@@@@
/// // rest of the output
/// ```
#[derive(Debug)]
pub struct Bordered<C: Component = Box<dyn Component>> {
child: Aligned<C>,
Expand Down

0 comments on commit 657b19b

Please sign in to comment.