Merge pull request #270 from gbj/chorse

Chores
This commit is contained in:
Greg Johnston 2023-01-08 07:26:14 -05:00 committed by GitHub
commit 52e653316e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -591,7 +591,6 @@ impl<El: ElementDescriptor + 'static> HtmlElement<El> {
{
cfg_if! {
if #[cfg(debug_assertions)] {
let span = self.span.clone();
let onspan = ::tracing::span!(
parent: &self.span,
::tracing::Level::TRACE,

View file

@ -63,7 +63,8 @@ pub fn create_signal<T>(cx: Scope, value: T) -> (ReadSignal<T>, WriteSignal<T>)
s
}
/// Creates a signal that always contains the most recent value emitted by a [Stream].
/// Creates a signal that always contains the most recent value emitted by a
/// [Stream](futures::stream::Stream).
/// If the stream has not yet emitted a value since the signal was created, the signal's
/// value will be `None`.
#[cfg_attr(