From e8470824352064fefbb5d0d30a728211d11cea53 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 26 Jan 2021 21:13:52 +0100 Subject: =?UTF-8?q?Multi-expression=20blocks=20=F0=9F=9B=8D=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/syntax/span.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/syntax/span.rs') diff --git a/src/syntax/span.rs b/src/syntax/span.rs index 21fa9ab8..5087dffa 100644 --- a/src/syntax/span.rs +++ b/src/syntax/span.rs @@ -34,6 +34,9 @@ impl Offset for SpanVec { } } +/// A box of a spanned value of type `T`. +pub type SpanBox = Box>; + /// A value with the span it corresponds to in the source code. #[derive(Default, Copy, Clone, Eq, PartialEq, Ord, PartialOrd)] #[cfg_attr(feature = "serde", derive(serde::Serialize))] -- cgit v1.2.3