🚚 Restore macro name #[fn_builder] for fn_with
This commit is contained in:
parent
2389aad546
commit
a9a5d232a2
36 changed files with 190 additions and 187 deletions
|
|
@ -1,6 +1,6 @@
|
|||
use crate::core::component::{ComponentTrait, Context};
|
||||
use crate::html::{html, Markup};
|
||||
use crate::{fn_with, TypeId, Weight};
|
||||
use crate::{fn_builder, TypeId, Weight};
|
||||
|
||||
use std::sync::{Arc, RwLock, RwLockReadGuard, RwLockWriteGuard};
|
||||
|
||||
|
|
@ -79,7 +79,7 @@ impl AnyComponents {
|
|||
|
||||
// AnyComponents BUILDER.
|
||||
|
||||
#[fn_with]
|
||||
#[fn_builder]
|
||||
pub fn alter_value(&mut self, op: ArcAnyOp) -> &mut Self {
|
||||
match op {
|
||||
ArcAnyOp::Add(arc) => self.0.push(arc),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue