Telegram Group & Telegram Channel
#dev #rust

Загадка, теперь уже точно.

fn test<T: ?Sized>() {
dbg!(is_concrete_type!(i32));
dbg!(is_concrete_type!(T));
}
fn main() {
test::<i32>();
}


[src/main.rs:35:5] is_concrete_type!(i32) = true
[src/main.rs:36:5] is_concrete_type!(T) = false


Как? (Конкретные названия типов и T не хардкодятся)



group-telegram.com/alisa_rummages/174
Create:
Last Update:

#dev #rust

Загадка, теперь уже точно.

fn test<T: ?Sized>() {
dbg!(is_concrete_type!(i32));
dbg!(is_concrete_type!(T));
}
fn main() {
test::<i32>();
}


[src/main.rs:35:5] is_concrete_type!(i32) = true
[src/main.rs:36:5] is_concrete_type!(T) = false


Как? (Конкретные названия типов и T не хардкодятся)

BY Алиса копается


Warning: Undefined variable $i in /var/www/group-telegram/post.php on line 260

Share with your friend now:
group-telegram.com/alisa_rummages/174

View MORE
Open in Telegram


Telegram | DID YOU KNOW?

Date: |

Some people used the platform to organize ahead of the storming of the U.S. Capitol in January 2021, and last month Senator Mark Warner sent a letter to Durov urging him to curb Russian information operations on Telegram. To that end, when files are actively downloading, a new icon now appears in the Search bar that users can tap to view and manage downloads, pause and resume all downloads or just individual items, and select one to increase its priority or view it in a chat. This ability to mix the public and the private, as well as the ability to use bots to engage with users has proved to be problematic. In early 2021, a database selling phone numbers pulled from Facebook was selling numbers for $20 per lookup. Similarly, security researchers found a network of deepfake bots on the platform that were generating images of people submitted by users to create non-consensual imagery, some of which involved children. Two days after Russia invaded Ukraine, an account on the Telegram messaging platform posing as President Volodymyr Zelenskiy urged his armed forces to surrender. Multiple pro-Kremlin media figures circulated the post's false claims, including prominent Russian journalist Vladimir Soloviev and the state-controlled Russian outlet RT, according to the DFR Lab's report.
from in


Telegram Алиса копается
FROM American