7 // width and height of a rectangle can be different
8 let rect1 = Rectangle { width: 30, height: 50 };
11 "The area of the rectangle is {} square pixels.",
16fn area(rectangle: &Rectangle) -> u32 {
17 rectangle.width * rectangle.height
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list