From 175a48875e939232798ea36b333527d1e3957ce0 Mon Sep 17 00:00:00 2001 From: Sunli Date: Mon, 7 Sep 2020 18:53:03 +0800 Subject: [PATCH] Remove historical code that is no longer used. --- src/context.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/context.rs b/src/context.rs index fcce3e7f..09e91025 100644 --- a/src/context.rs +++ b/src/context.rs @@ -518,16 +518,6 @@ impl<'a, T> ContextBase<'a, T> { Ok(false) } - - #[doc(hidden)] - pub fn is_defer(&self, directives: &[Positioned]) -> bool { - directives.iter().any(|d| d.name.node == "defer") - } - - #[doc(hidden)] - pub fn is_stream(&self, directives: &[Positioned]) -> bool { - directives.iter().any(|d| d.name.node == "stream") - } } impl<'a> ContextBase<'a, &'a Positioned> {