Skip to content

Commit

Permalink
Format asm! macro calls
Browse files Browse the repository at this point in the history
  • Loading branch information
ytmimi committed Jan 28, 2022
1 parent 5c558e2 commit 713ae48
Show file tree
Hide file tree
Showing 24 changed files with 2,320 additions and 12 deletions.
4 changes: 1 addition & 3 deletions src/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1859,11 +1859,9 @@ pub(crate) enum RhsAssignKind<'ast> {

impl<'ast> RhsAssignKind<'ast> {
// TODO(calebcartwright)
// Preemptive addition for handling RHS with chains, not yet utilized.
// It may make more sense to construct the chain first and then check
// whether there are actually chain elements.
#[allow(dead_code)]
fn is_chain(&self) -> bool {
pub(crate) fn is_chain(&self) -> bool {
match self {
RhsAssignKind::Expr(kind, _) => {
matches!(
Expand Down
Loading

0 comments on commit 713ae48

Please sign in to comment.