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
#[allow(dead_code)] | |
struct Entity { | |
level: u8, | |
health: u8 | |
} | |
fn show_vector (next: &Option<Entity>) -> char { | |
match next { | |
&Some(_) => '0', | |
&None => '.' |
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
const React = require ('React'); | |
const DatePickerMain = require ('react-datepicker'); | |
let sendDate = () => {}; | |
class DatePicker extends React.Component { | |
constructor (props) { | |
super(props); |
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
/* | |
* The requirement for this module is to accept a number array | |
* and test for the presence of at least one element in each of | |
* the following ranges: | |
* | |
* 10-20 | |
* 20-30 | |
* 30-40 | |
* 40-50 | |
* 50-60 |