RUST_CODE Telegram 1020
🦀 #Rust Совет

Хочешь протестировать что-то быстро, не трогая main.rs?
Создай файлы в директории examples/ внутри своего крейта — и запускай их так:


cargo run --example <имя_файла>


📦 Это удобно для:
• Быстрых экспериментов
• Мини-демо и прототипов
• Локальных тестов без влияния на основную логику

Пример:


cargo run --example my_demo


Отличный способ держать main.rs чистым и при этом экспериментировать свободно.

#junior #rust
👍606🔥3🥰1🤨1



tgoop.com/rust_code/1020
Create:
Last Update:

🦀 #Rust Совет

Хочешь протестировать что-то быстро, не трогая main.rs?
Создай файлы в директории examples/ внутри своего крейта — и запускай их так:


cargo run --example <имя_файла>


📦 Это удобно для:
• Быстрых экспериментов
• Мини-демо и прототипов
• Локальных тестов без влияния на основную логику

Пример:


cargo run --example my_demo


Отличный способ держать main.rs чистым и при этом экспериментировать свободно.

#junior #rust

BY Rust


Share with your friend now:
tgoop.com/rust_code/1020

View MORE
Open in Telegram


Telegram News

Date: |

3How to create a Telegram channel? As of Thursday, the SUCK Channel had 34,146 subscribers, with only one message dated August 28, 2020. It was an announcement stating that police had removed all posts on the channel because its content “contravenes the laws of Hong Kong.” Telegram Android app: Open the chats list, click the menu icon and select “New Channel.” A few years ago, you had to use a special bot to run a poll on Telegram. Now you can easily do that yourself in two clicks. Hit the Menu icon and select “Create Poll.” Write your question and add up to 10 options. Running polls is a powerful strategy for getting feedback from your audience. If you’re considering the possibility of modifying your channel in any way, be sure to ask your subscribers’ opinions first. On Tuesday, some local media outlets included Sing Tao Daily cited sources as saying the Hong Kong government was considering restricting access to Telegram. Privacy Commissioner for Personal Data Ada Chung told to the Legislative Council on Monday that government officials, police and lawmakers remain the targets of “doxxing” despite a privacy law amendment last year that criminalised the malicious disclosure of personal information.
from us


Telegram Rust
FROM American