Annotate unstable API fns with cfg

This commit is contained in:
Carl Lerche
2017-09-13 14:14:41 -07:00
parent f7d14861e5
commit b01e3dff12
3 changed files with 5 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ impl GoAway {
}
}
#[cfg(feature = "unstable")]
pub fn last_stream_id(&self) -> StreamId {
self.last_stream_id
}