Feature flagged out the text module

This commit is contained in:
Armin Ronacher 2021-01-24 09:26:56 +01:00
parent 18fff98d22
commit 16d1eea8fc
4 changed files with 11 additions and 4 deletions

View file

@ -47,6 +47,7 @@
//!
//! Because the [`TextDiff::grouped_ops`] method can isolate clusters of changes
//! this even works for very long files if paired with this method.
#![cfg(feature = "text")]
use std::borrow::Cow;
use std::fmt;
use std::io;