Add with_cpp_compat to the builder

This commit is contained in:
Ian Hobson 2022-11-10 11:30:06 +01:00 committed by Emilio Cobos Álvarez
parent 66bc17facf
commit 317412c5a9

View File

@ -149,6 +149,12 @@ impl Builder {
self
}
#[allow(unused)]
pub fn with_cpp_compat(mut self, cpp_compat: bool) -> Builder {
self.config.cpp_compat = cpp_compat;
self
}
#[allow(unused)]
pub fn with_style(mut self, style: Style) -> Builder {
self.config.style = style;