Day 33

August 16, 2017 20:57 UTC Team Serv0101 (Servo) [2017]Subscribe to this teams's activities

Janitor worked for some time and then again it failed.
In those time we are able to get the access to Neha's remote.
So many things have changed today on parse srcset algorithm.

Things we learned while updating the code for a srcset algorithm is:
* loop { } : Rust provides a loop keyword to indicate an infinite loop. The break statement can be used to exit a loop at any time, whereas the continue statement can be used to skip the rest of the iteration and start a new one.
* Bindings: You can bind values to names with @. Let's see an example to understand it properly.

let x = 1;
match x {
e @ 1 => println!("Value: {}", e),
_ => println!("anything"),
}

This will print Value: 1

Comments

You must be logged in to add a comment.