File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -852,6 +852,26 @@ fn concatenate(strings: &[&str], output: &mut [u8]) {
852
852
853
853
impl < ' a > MultiFieldReview < ' a > {
854
854
pub fn new (
855
+ fields : & ' a [ Field < ' a > ] ,
856
+ review_message : & ' a [ & ' a str ] ,
857
+ review_glyph : Option < & ' a Glyph < ' a > > ,
858
+ validation_message : & ' a str ,
859
+ validation_glyph : Option < & ' a Glyph < ' a > > ,
860
+ cancel_message : & ' a str ,
861
+ cancel_glyph : Option < & ' a Glyph < ' a > > ,
862
+ ) -> Self {
863
+ Self :: new_with_validation_messages (
864
+ fields,
865
+ review_message,
866
+ review_glyph,
867
+ [ validation_message, "" ] ,
868
+ validation_glyph,
869
+ cancel_message,
870
+ cancel_glyph,
871
+ )
872
+ }
873
+
874
+ pub fn new_with_validation_messages (
855
875
fields : & ' a [ Field < ' a > ] ,
856
876
review_message : & ' a [ & ' a str ] ,
857
877
review_glyph : Option < & ' a Glyph < ' a > > ,
You can’t perform that action at this time.
0 commit comments