mirror of
https://github.com/trickster0/OffensiveRust
synced 2026-06-08 17:54:47 +00:00
removing unneeded to_string()
This commit is contained in:
@@ -10,7 +10,7 @@ fn main(){
|
||||
let evil_password: String = "OhNoPayUsBitcoin!@#".to_string();
|
||||
|
||||
// If I want to encrypt a literal string, I can use the lc!() macro. This and the use_litcrypt() method will encrypt anything that is passed as the argument.
|
||||
let _can_you_see_me: String = lc!("Can you see me?").to_string();
|
||||
let _can_you_see_me: String = lc!("Can you see me?");
|
||||
// You will not see the above string in the bin once it is compiled. You WILL see this one, because we aren't using the lc!() macro:
|
||||
let _or_can_you_see_me: String = "Or can you see me?".to_string();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user