File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -99,21 +99,13 @@ impl ClassBuilder {
9999 self
100100 }
101101
102- /// Adds a property to the class. The initial type of the property is given
103- /// by the type of the given default. Note that the user can change the
104- /// type.
102+ /// Adds a property to the class.
105103 ///
106104 /// # Parameters
107105 ///
108106 /// * `name` - The name of the property to add to the class.
109- /// * `default` - The default value of the property.
110107 /// * `flags` - Flags relating to the property. See [`PropertyFlags`].
111108 /// * `docs` - Documentation comments for the property.
112- ///
113- /// # Panics
114- ///
115- /// Function will panic if the given `default` cannot be converted into a
116- /// [`Zval`].
117109 pub fn property < T : Into < String > > (
118110 mut self ,
119111 name : T ,
You can’t perform that action at this time.
0 commit comments