Export ValueLocRange and DisplayFunctionAnnotations::default()

This commit is contained in:
bjorn3
2019-05-14 15:54:04 +02:00
committed by Benjamin Bouvier
parent a0ddbf403c
commit edd2bf12fd
3 changed files with 6 additions and 2 deletions

View File

@@ -228,7 +228,8 @@ pub struct DisplayFunctionAnnotations<'a> {
}
impl<'a> DisplayFunctionAnnotations<'a> {
fn default() -> Self {
/// Create a DisplayFunctionAnnotations with all fields set to None.
pub fn default() -> Self {
DisplayFunctionAnnotations {
isa: None,
value_ranges: None,