This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 3][t 8][1526622432.139708281][SecretChatsManager.cpp:483][!SecretChatsManager] Create SecretChatActor: [id:-1052484648] | |
[ 3][t 8][1526622432.139754534][SecretChatActor.cpp:1844][!SecretChat -1052484648] SecretChatActor: start_up | |
[ 4][t 8][1526622432.139801502][utils.cpp:21][!SecretChat -1052484648] Create storer for messages_getDhConfig { | |
version = 0 | |
random_length = 0 | |
} | |
[ 3][t 8][1526622432.139820814][NetQuery.h:351][!SecretChat -1052484648] [Query:[id:983040][tl:0x26cf8950][state:Query]] | |
[ 3][t 8][1526622432.139829874][NetQuery.h:245][!SecretChat -1052484648][&net_query] [Query:[id:983040][tl:0x26cf8950][state:Query]] [debug:dispatch] | |
[ 3][t 8][1526622432.139842987][NetQuery.h:245][!SecretChat -1052484648][&net_query] [Query:[id:983040][tl:0x26cf8950][state:Query]] [debug:sent to main session multi proxy DcId{2}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class User < ActiveRecord::Base | |
has_many :animals | |
has_many :dogs | |
has_many :cats | |
end | |
class Zoo < ActiveRecord::Base | |
has_many :animals | |
has_many :elephants | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// #[item_attribute] - attribute for module or file | |
// | |
// #![crate_attribute] - attribute for crate | |
// | |
// - #[attribute = "value"] | |
// - #[attribute(key = "value")] | |
// - #[attribute(value)] | |
// | |
// #![crate_type = "lib"] - crate as library (instead `--crate-type` compile param) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// file_1.rs | |
// | |
// implement class method and instance method with the same name | |
// | |
struct Car { | |
stamp: &'static str | |
} | |
impl Car { | |
fn print() { | |
println!("It is Car class method!") |