Once it clicks, I have found rust to be a joy to write. Been using it for around 3 years. It gets much easier - I can imagine coming from JS makes it difficult too.
You want
let mut list = ...
for x in list.iter_mut() {
*x = sort(max, *x);
}
--- or ----
for i in 0..list.len() {
list[i] = sort(max, list[i])
}
Actually... there are multiple other errors in your code as well, I suspect it doesn't compile. list not declared as mutable, attempted iterator invalidation, etc etc
I (and many others) wanted a way to have the bitwarden browser extension/phone apps to have a way to auto-log out in addition to auto-lock after a timeout - the difference being that you need to use 2FA every time you log out, but not after locking. I have a yubikey, and wanted to have bitwarden authenticate against my identity more frequently, since by default you are never logged out.
So I authored an extension to the browser plugin and backing library that added in the "Vault timeout action". My exact code wasn't merged into master since I believe they wanted to make some architectural changes to support this, rather than the workaround I implemented.
Try Ctrl Alt F3 or F4 etc then. I ran into this exact same problem last night when I installed, and that shortcut will take you to another TTY where to can install the KDE apps.
Once it clicks, I have found rust to be a joy to write. Been using it for around 3 years. It gets much easier - I can imagine coming from JS makes it difficult too.
You want
--- or ----
No need to
clonea usize. It's aCopytype :)Actually... there are multiple other errors in your code as well, I suspect it doesn't compile.
listnot declared as mutable, attempted iterator invalidation, etc etcI still do not understand why people use YouTube guides for anything computer related. So much easier to just read a document and search it...
I (and many others) wanted a way to have the bitwarden browser extension/phone apps to have a way to auto-log out in addition to auto-lock after a timeout - the difference being that you need to use 2FA every time you log out, but not after locking. I have a yubikey, and wanted to have bitwarden authenticate against my identity more frequently, since by default you are never logged out.
So I authored an extension to the browser plugin and backing library that added in the "Vault timeout action". My exact code wasn't merged into master since I believe they wanted to make some architectural changes to support this, rather than the workaround I implemented.
Yeah bitwarden is awesome. I've actually contributed to it (once) as well!
Calibre is in that elite group of programs that I install immediately on a new PC. Thanks for helping to keep it alive
Sweet paper. I'd be curious to see some RNAseq data to tease out what the transcriptional effect of DSUP is.
This is advanced shitposting.
Try i3. Great if you hate trackpads like me
Try Ctrl Alt F3 or F4 etc then. I ran into this exact same problem last night when I installed, and that shortcut will take you to another TTY where to can install the KDE apps.
Are you using USB2 or USB3 ports? Mine only works with USB2.
End of this list.
Back to top