doc: first item is current version comment (#817)

This commit is contained in:
kylezs
2023-02-08 21:52:39 +11:00
committed by GitHub
parent 20adb198e4
commit 9e2acff5b2
+1
View File
@@ -366,6 +366,7 @@ impl<T: Config> Rpc<T> {
}
/// Subscribe to runtime version updates that produce changes in the metadata.
/// The first item emitted by the stream is the current runtime version.
pub async fn subscribe_runtime_version(
&self,
) -> Result<Subscription<types::RuntimeVersion>, Error> {