Rename Located -> Loc

This commit is contained in:
Joshua Warner 2021-12-22 19:18:22 -08:00
parent c66c845cd2
commit f19220473a
55 changed files with 680 additions and 683 deletions

View file

@ -3,7 +3,7 @@ use crate::pattern::fmt_pattern;
use crate::spaces::{fmt_spaces, INDENT};
use crate::Buf;
use roc_parse::ast::{Def, Expr, Pattern};
use roc_region::all::Located;
use roc_region::all::Loc;
/// A Located formattable value is also formattable
impl<'a> Formattable for Def<'a> {
@ -108,7 +108,7 @@ impl<'a> Formattable for Def<'a> {
fn fmt_expect<'a, 'buf>(
buf: &mut Buf<'buf>,
condition: &'a Located<Expr<'a>>,
condition: &'a Loc<Expr<'a>>,
is_multiline: bool,
indent: u16,
) {