Closed NewBornRustacean closed 1 year ago
get_indices_from_syllable
get_char_from_indices
is_hangul
get_indicces_from_syllable
NUM_INITIAL_CONSONANT
u32
usize
usize as u32
u32 as usize
작업 내역
get_indices_from_syllable
작성get_char_from_indices
작성is_hangul
작성disscussion
get_char_from_indices
는 테스트용으로. 나중에 자주 안쓰이면 테스트 코드를 고치고 이 함수 없애도 될 듯?get_indicces_from_syllable
함수에서 초/중/종성의 인덱스를 반환하지 말고, 바로 초/중/종성 자체를 반환하도록 만드는게 더 좋지 않을까?리뷰 반영
NUM_INITIAL_CONSONANT
)u32
tousize
usize as u32
보다u32 as usize
가 더 자주 사용됨.