Macro text_block_macros::text_block [−][src]
Create a multiline string literal.
Example:
use text_block_macros::text_block; let text = text_block! { "abc" "def" "ghi" }; assert_eq!(text, "abc\ndef\nghi");
Create a multiline string literal.
Example:
use text_block_macros::text_block; let text = text_block! { "abc" "def" "ghi" }; assert_eq!(text, "abc\ndef\nghi");