break: Remove register_escape_fn API

This commit is contained in:
Kogia-sima 2020-07-14 23:25:36 +09:00
parent 3040084ca9
commit 203a890618
1 changed files with 0 additions and 4 deletions

View File

@ -50,10 +50,6 @@ fn escape(feed: &str, buf: &mut Buffer) {
unsafe { fun(feed, buf) };
}
/// Change the default escape function
#[doc(hidden)]
pub fn register_escape_fn(_fun: fn(&str, &mut Buffer)) {}
/// write the escaped contents into `Buffer`
#[cfg_attr(feature = "perf-inline", inline)]
pub fn escape_to_buf(feed: &str, buf: &mut Buffer) {