@@ -26,7 +26,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
2626 println ! ( "Building screenshot URL with structured options..." ) ;
2727 let screenshot_url =
2828 capture. build_screenshot_url ( "https://capture.page/" , Some ( & screenshot_options) ) ?;
29- println ! ( "Screenshot URL: {}" , screenshot_url ) ;
29+ println ! ( "Screenshot URL: {screenshot_url}" ) ;
3030
3131 // Example 2: PDF with structured options
3232 let pdf_options = PdfOptions {
@@ -42,7 +42,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
4242
4343 println ! ( "Building PDF URL with structured options..." ) ;
4444 let pdf_url = capture. build_pdf_url_structured ( "https://capture.page/" , Some ( & pdf_options) ) ?;
45- println ! ( "PDF URL: {}" , pdf_url ) ;
45+ println ! ( "PDF URL: {pdf_url}" ) ;
4646
4747 // Example 3: Content with structured options
4848 let content_options = ContentOptions {
@@ -54,7 +54,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
5454 println ! ( "Building content URL with structured options..." ) ;
5555 let content_url =
5656 capture. build_content_url_structured ( "https://capture.page/" , Some ( & content_options) ) ?;
57- println ! ( "Content URL: {}" , content_url ) ;
57+ println ! ( "Content URL: {content_url}" ) ;
5858
5959 // Example 4: Using generic override mechanism
6060 let mut additional_options = HashMap :: new ( ) ;
@@ -78,7 +78,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
7878 println ! ( "Building screenshot URL with override options..." ) ;
7979 let override_url =
8080 capture. build_screenshot_url ( "https://capture.page/" , Some ( & screenshot_with_override) ) ?;
81- println ! ( "Override URL: {}" , override_url ) ;
81+ println ! ( "Override URL: {override_url}" ) ;
8282
8383 // Example 5: Metadata with generic options only
8484 let mut metadata_additional = HashMap :: new ( ) ;
@@ -94,7 +94,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
9494 println ! ( "Building metadata URL with generic options..." ) ;
9595 let metadata_url =
9696 capture. build_metadata_url_structured ( "https://capture.page/" , Some ( & metadata_options) ) ?;
97- println ! ( "Metadata URL: {}" , metadata_url ) ;
97+ println ! ( "Metadata URL: {metadata_url}" ) ;
9898
9999 // Example 6: Fetch screenshot with structured options
100100 println ! ( "Fetching screenshot with structured options..." ) ;
0 commit comments