Slight improvement to attach.rs's doc (#996)

This commit is contained in:
Leedehai 2023-04-28 12:49:51 -04:00 committed by GitHub
parent b0c088740e
commit 1efbcad46e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ use super::*;
/// // With function call.
/// $ attach(
/// Pi, t: alpha, b: beta,
/// tl: 1, tr: 2, bl: 3, br: 4,
/// tl: 1, tr: 2+3, bl: 4+5, br: 6,
/// ) $
/// ```
///
@ -34,8 +34,10 @@ pub struct AttachElem {
pub t: Option<Content>,
/// The bottom attachment, smartly positioned at the bottom-right or below
/// the base. You can wrap the base in `{limits()}` or `{scripts()}` to
/// override the smart positioning.
/// the base.
///
/// You can wrap the base in `{limits()}` or `{scripts()}` to override the
/// smart positioning.
pub b: Option<Content>,
/// The top-left attachment (before the base).