Skip to content

Commit 5736f6b

Browse files
committed
f - fix build errors in no-std
1 parent 544f2bd commit 5736f6b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lightning/src/util/ser_macros.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -497,10 +497,10 @@ macro_rules! tlv_record_type {
497497
char
498498
};
499499
(String) => {
500-
::util::ser::WithoutLength<String>
500+
::util::ser::WithoutLength<crate::prelude::String>
501501
};
502502
(Vec<$type:ty>) => {
503-
::util::ser::WithoutLength<Vec<$type>>
503+
::util::ser::WithoutLength<crate::prelude::Vec<$type>>
504504
};
505505
($type:ident$(<$gen:ident>)?) => {
506506
$type$(<$gen>)?
@@ -524,10 +524,10 @@ macro_rules! tlv_record_ref_type {
524524
char
525525
};
526526
(String) => {
527-
::util::ser::WithoutLength<&'a String>
527+
::util::ser::WithoutLength<&'a crate::prelude::String>
528528
};
529529
(Vec<$type:ty>) => {
530-
::util::ser::WithoutLength<&'a Vec<$type>>
530+
::util::ser::WithoutLength<&'a crate::prelude::Vec<$type>>
531531
};
532532
($type:ident$(<$gen:ident>)?) => {
533533
&'a $type$(<$gen>)?

0 commit comments

Comments
 (0)